  | |  | anacron | anacron 2004-11-24 - By Josh Kelley
Back I 'm trying to figure out the best way to set up anacron on my servers,
and I 'm having trouble figuring out Red Hat 's default setup. From what
I can tell, this is what 's going on; please let me know if I 'm mistaken:
1. Jobs in /etc/cron.daily are run by crond every day at 4:02am.
When this happens, the jobs are flagged as completed by anacron so
that it won 't re-run them.
2. At system startup, anacron is run to check for jobs that haven 't
been run yet. If there are unprocessed daily jobs (e.g., if the
system was down at 4:02am), then anacron waits 65 minutes then
runs those jobs.
3. As a result, if the system boots sometime between 12:00am and
2:56am, the jobs may get run twice (once by anacron at startup and
once by cron.daily, which runs its jobs unconditionally).
Is this correct? This seems like an odd setup; some of my daily cron
jobs would break if run twice in the same day.
Thanks.
Josh Kelley
--
Taroon-list mailing list
Taroon-list@(protected)
http://www.redhat.com/mailman/listinfo/taroon-list
|
|
 |