On 11/18/2010 10:20 AM, Robert Moskowitz wrote:
On this F12 server, my /etc/anacrontab is rather simple:
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
# the maximal random delay added to the base delay of the jobs
RANDOM_DELAY=45
# the jobs will be started during the following hours only
START_HOURS_RANGE=3-22
#period in days delay in minutes job-identifier command
1 5 cron.daily nice run-parts /etc/cron.daily
7 25 cron.weekly nice run-parts /etc/cron.weekly
@monthly 45 cron.monthly nice run-parts /etc/cron.monthly
You would think I would get emails but I don't I don't see any line
there for the hourly, but them run. For /var/log/cron:
Nov 18 11:01:01 homebase CROND[11128]: (root) CMD (run-parts
/etc/cron.hourly)
Nov 18 11:01:01 homebase run-parts(/etc/cron.hourly)[11128]: starting
0anacron
Nov 18 11:01:01 homebase anacron[11138]: Anacron started on 2010-11-18
Nov 18 11:01:01 homebase run-parts(/etc/cron.hourly)[11140]: finished
0anacron
Nov 18 11:01:01 homebase anacron[11138]: Normal exit (0 jobs run)
Nov 18 11:01:01 homebase run-parts(/etc/cron.hourly)[11128]: starting
hda-update
Nov 18 11:03:10 homebase run-parts(/etc/cron.hourly)[11160]: finished
hda-update
There was an update to the crontabs rpm that broke cron.hourly and
another one that fixed it. Make sure you're on the most recent version
of the crontabs package. (For F14, it's
crontabs-1.11-1.20101115git.fc14.noarch)
--
-- Steve