Re: crontab prob
From: Shane Ambler (Shane_at_007Marketing.com)
Date: 10/20/05
- Previous message: Tulio Guimarães da Silva: "Re: crontab-smb probs"
- In reply to: eirini: "Re: crontab prob"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 20 Oct 2005 23:21:51 +0930 To: FreeBSD Mailing Lists <freebsd-performance@freebsd.org>, eirini <renas13@yahoo.com>
On 20/10/2005 22:09, "eirini" <renas13@yahoo.com> wrote:
> Subject: Cron <root@BSD> /usr/local/www/run.sh
> X-Cron-Env: <SHELL=/bin/sh>
> X-Cron-Env: <HOME=/root>
> X-Cron-Env: <PATH=/usr/bin:/bin>
> X-Cron-Env: <LOGNAME=root>
> X-Cron-Env: <USER=root>
>
> env: mrtg: No such file or directory
> # cat /usr/local/www/run.sh
> env LANG=C mrtg /usr/local/www/mrtg/eg2/eg2.cfg
I pick the problem to be this line ^ above.
Try changing the mrtg (the first one after LANG=C) in the run.sh to the full
path - from the cron email you got it is not located within PATH which is
why it can't find it.
If you removed the mrtg folder you may need to change the path to the cfg
file as well.
The other option is put mrtg in /usr/bin/
-- Shane Ambler Sales Department 007Marketing.com Shane@007Marketing.com _______________________________________________ freebsd-performance@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-performance To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org"
- Previous message: Tulio Guimarães da Silva: "Re: crontab-smb probs"
- In reply to: eirini: "Re: crontab prob"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|