the maximal random delay added to the base delay of the jobs
the jobs will be started during the following hours only
period in days delay in minutes job-identifier command
# 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
Copy to ClipboardCopied!Toggle word wrapToggle overflow
RANDOM_DELAY=0 # or do not use this option at all
START_HOURS_RANGE=4-5
# period in days delay in minutes job-identifier command
1 0 cron.daily nice run-parts /etc/cron.daily
7 0 cron.weekly nice run-parts /etc/cron.weekly
@monthly 0 cron.monthly nice run-parts /etc/cron.monthly
RANDOM_DELAY=0 # or do not use this option at all
START_HOURS_RANGE=4-5
# period in days delay in minutes job-identifier command
1 0 cron.daily nice run-parts /etc/cron.daily
7 0 cron.weekly nice run-parts /etc/cron.weekly
@monthly 0 cron.monthly nice run-parts /etc/cron.monthly
Copy to ClipboardCopied!Toggle word wrapToggle overflow
cronie 特性包括:
/etc/anacrontab 中启动任务的随机延迟。
在 /etc/anacrontab 中定义的常规任务时间段。
每个 cron 表有其使用 CRON_TZ 变量定义的时区。
默认情况下 cron 守护进程在不通知的情况下检查表格更改。
关于 cronie and cronie-anacron 的进一步信息,请参考《红帽企业版 Linux 部署指南》。