Re: crontab-smb probs

2005-10-20 Thread Tulio Guimarães da Silva
Hello, from the error message originator - env(1) -, I´d say there´s some environment variable missing at run. Crond does not execute ~/.profile and similars, which is normally where these variables are defined, and then they must be set by the shellscript itself. In short, mrtg is being cal

Re: crontab-smb probs

2005-10-20 Thread eirini
That's exactly what I have done! I suspect that there is on another crontab file (?) a reference to an mrtg folder cause now I have moved my run.sh to another folder and my crontab line is like this: */5 * * * * /usr/local/www/run.sh no mrtg anywhere :) :) but still get this mail!!! : Messag

Re: crontab-smb probs

2005-10-20 Thread Thomas Krause (Webmatic)
Thank you dear friend. I did the changes you told me. So, I did remove "root" and say crontab -e as root but nothing changed. it kept sending mail saying that it cannot find mrtg directory...BUT there is one.. I also copied the run.sh scritp to the parent folder. and now crontab -l gives:

Re: crontab-smb probs

2005-10-20 Thread eirini
>>It will not start! I edit it with crontab -e and added >>the line >>*/5 * * * * root /usr/local/www/mrtg/run.sh with vi >>editor. > > >afaik, you don't define user who runs that crontab >there, so remove >"root" and say crontab -e as root when you want toedit >it and you >should be ok. Th

Re: crontab-smb probs

2005-10-19 Thread albi
On Wed, 19 Oct 2005 07:07:47 -0700 (PDT) eirini <[EMAIL PROTECTED]> wrote: > Hello to all fellow freebsd users :) hi, welcome :-) > first mrtg. mrtg works fine except one minor problem > with cron. > It will not start! I edit it with crontab -e and added > the line > */5 * * * * root /usr/local

crontab-smb probs

2005-10-19 Thread eirini
Hello to all fellow freebsd users :) I am new in unix and BSD and I have encoured some problems trying to "play" with all it's features. :) The problem I have is that I tried configuring mrtg in my freebsd 5.4 stable machine, as well as smb. And that's where my problems start! first mrtg. mrtg w