>>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.
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:
*/5 * * * * /usr/local/www/run.sh
and i get now THIS mail:
>N 1 [EMAIL PROTECTED] Thu Oct 20 12:35 23/874
"Cron <[EMAIL PROTECTED]> /usr/local/www/run.sh"
&
Message 1:
>From [EMAIL PROTECTED] Thu Oct 20 12:35:00 2005
Date: Thu, 20 Oct 2005 12:35:00 +0300 (EEST)
From: [EMAIL PROTECTED] (Cron Daemon)
To: [EMAIL PROTECTED]
Subject: Cron <[EMAIL PROTECTED]> /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
I also checked the /etc/crontab and there is nothing
more than the default in there, as well as
/usr/src/crontab.
Any suggestions?
Spen
__________________________________
Start your day with Yahoo! - Make it your home page!
http://www.yahoo.com/r/hs
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "[EMAIL PROTECTED]"