> -----Original Message----- > From: redhat-list-admin@xxxxxxxxxx > [mailto:redhat-list-admin@xxxxxxxxxx]On Behalf Of Ian Dobson > Sent: Monday, March 01, 2004 8:36 AM > To: redhat-list@xxxxxxxxxx > Subject: Re: Cron runs twice a day? > > > My crontab is as follows > 01 * * * * /usr/bin/run-parts /etc/cron.hourly > 02 1 * * * /usr/bin/run-parts /etc/cron.daily > 20 1 * * 0 /usr/bin/run-parts /etc/cron.weekly > 40 1 1 * * /usr/bin/run-parts /etc/cron.monthly > > tasks in the cron.daily run at 1:02 and 4:00am > tasks in cron.weekly run at 1:20 and 4:00am > what is running the tasks a second time? > Two things to check 1) what are the usr crontabs ? Perhaps you are running something in root's crontab ? 2) check the /etc/cron.* directories to see if you accidentally made a copy of a file. I for example usually make a copy of a file if i'm going to edit it so I could easily do something like : prompt# cp /etc/cron.daily/slocate.cron /etc/cron.daily/slocate.cron.orig prompt# vi /etc/cron.daily/slocate.cron prompt# logout and then cron woould be running slocate twice (slocate.cron and slocate.cron.orig) -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list