[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

crontab error



Hi all.
I'm keep getting this error mesage in my root mail :

Subject: Cron <root@linux> root /usr/bin/mrtg /mrtg/main-lizard.cfg

/bin/bash: root: command not found

my cron table looks like this :

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root

# run-parts
#0-59/5 * * * * root run-parts /etc/cron.5min
00 * * * * root run-parts /etc/cron.hourly
00 00 * * * root run-parts /etc/cron.daily
00 00 * * 0 root run-parts /etc/cron.weekly
00 00 1 * * root run-parts /etc/cron.monthly

0-59/5 * * * * root /usr/bin/mrtg /mrtg/main-lizard.cfg
#0-59/5 * * * * root /usr/bin/mrtg /mrtg/main-lizard.cfg

what is wrong ?

Thanks,

Mike


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il