FC" Cron Error - Newbe Question
Robert Slade
robert at bathnetworks.com
Sat Sep 25 06:57:51 UTC 2004
Hiya,
I am getting an error for Cron:
/bin/bash: line 1: root: command not found
My Crontab looks like this:
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
# run-tasks
0 2 * * * /usr/bin/freshclam --quiet -l /var/log/clam-update.log
0 3 * * * /var/qmail/bin/qmailstats 1>/dev/null 2>/dev/null
It looks like the problem is with SHELL=/bin/bash, but the file is
there.
Sorry if this is bit basic, but I'm stuck.
Rob
More information about the fedora-list
mailing list