Re: crontab prob

2005-10-20 Thread wendel
> the default /usr/local/bin/mrtg script. I had no Hi Spen if you are installing applications from ports you need to add this in you personal crontab's: PATH=.:/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin -- wendel | http://www.dotpix.com.br/~wendel/ cel 91449380 | msn: [EMAI

RE: crontab prob

2005-10-20 Thread spen
Thank all of you that responded to my email. The problem has been solved after I tried what Thomas said. It seems that the problem had sth to do with the default /usr/local/bin/mrtg script. I had no reference to it in the run.sh. after I edit the crontab and started the .cfg as well as the /usr/

Re: crontab prob

2005-10-20 Thread Shane Ambler
On 20/10/2005 22:09, "eirini" <[EMAIL PROTECTED]> wrote: > Subject: Cron <[EMAIL PROTECTED]> /usr/local/www/run.sh > X-Cron-Env: > X-Cron-Env: > X-Cron-Env: > X-Cron-Env: > X-Cron-Env: > > env: mrtg: No such file or directory > # cat /usr/local/www/run.sh > env LANG=C mrtg /usr/local/www/

Re: crontab prob

2005-10-20 Thread Richard Tector
eirini wrote: shouldn't I had posted this in this list? If not could you tell me which would be the proper mailing list? Thank you :) Spen freebsd-questions@ would have been a better choice. Read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/eresources.html#ERESOURCES-MAIL for a

Re: crontab prob

2005-10-20 Thread eirini
# whereis mrtg mrtg: /usr/local/bin/mrtg /usr/local/man/man1/mrtg.1.gz /usr/ports/net-mgmt/mrtg # cat /usr/local/www/run.sh env LANG=C mrtg /usr/local/www/mrtg/eg2/eg2.cfg the /usr/local/bin/mrtg is a default script I think. # ls -la |grep mrtg -r-xr-xr-x 1 root wheel 88382 Oct 11 14:19