FC" Cron Error - Newbe Question

Robert Slade robert at bathnetworks.com
Sun Sep 26 19:15:32 UTC 2004


On Sat, 2004-09-25 at 12:27, Markku Kolkka wrote:
> Robert Slade kirjoitti viestissään (lähetysaika lauantai, 25. syyskuuta 2004 09:57):
> > My Crontab looks like this:
> 
> Which crontab is this really? _Your_ crontab (the one created by running
> "crontab -e") or the file /etc/crontab? The syntax for these files is different.

It is the root crontab, all I have done is edited it with crontab -e (as
root) to add the run-tasks.

> 
> > 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
> 
> These lines are in /etc/crontab format, and are the cause of the error.
> 
> > # 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
> 
> These are in the correct format for user crontab files
> Why are you including /etc/crontab lines in your personal crontab?

Please see above. They are required for my mail server which I am trying
to setup.

Rob






More information about the fedora-list mailing list