From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
Description of problem:
After rebooting a system at 3:45 a.m. in the morning I noticed that
anacron runs altough normal cron will start cron.daily at 4 a.m.
So I suggest to not run anacron if the system has been booted before 4
a.m. and normal cron is enabled. Otherwise you'll all reports from
e.g. logwatch and tripwire twice.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. enable cron and anacron
2. reboot the system before 4 a.m.
3. wait for emails from cron
You can edit your configuration files if this bothers you -
that's what they're for.
Sure, but how about shipping default config files that already fix
How would we fix it ?
Not run anacron at all ?
Remove the cron.daily job from the default crontab ?
Put complex logic into the anacron startup script that
would check when the cron.daily job is to be run and
possibly not start anacron ?
Make anacron parse the crontabs and assume cron will
run the jobs?
Make cron discover if anacron has run the jobs
(integrate anacron into cron) ?
None of these are acceptable general purpose solutions.
Really, customizing your startup scripts to suit the needs
of your installation is the only answer.
Perhaps disabling cron (chkconfig --del crond)
and just using anacron might be an answer for you.