4.17. Cron
4.17.1. Vixie cron and Cronie Link kopierenLink in die Zwischenablage kopiert!
Link kopierenLink in die Zwischenablage kopiert!
Red Hat Enterprise Linux 6 includes the cronie package as a replacement for vixie-cron. The main difference between these packages is how the regular jobs (daily, weekly, monthly) are done. Cronie uses the
/etc/anacrontab
file, which by default looks like the following:
These regular jobs will be executed once a day in the 03:00-22:00 time interval, including a random delay. For example, cron.daily will have a 5 minute forced delay plus a random delay of 0-45 minutes. You could also run jobs with no delays, between 4 and 5:
Features of cronie include:
- Random delay for starting the job in
/etc/anacrontab
. - Time range of regular jobs can be defined in
/etc/anacrontab
. - Each cron table can have its own defined time zone with the CRON_TZ variable.
- By default, the cron daemon checks for changes in tables with inotify.
For further details about cronie and cronie-anacron, see the Red Hat Enterprise Linux Deployment Guide.