作者/来源:yixinu.com
栏目:运维/编程
日期:2012-04-18 08:34:09
说明:运行计算机在指定的时间内没有运行的计划任务
配置文件:/etc/anacrontab
…… 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
字段1:距离今天的天数,多少天前没有执行的任务
字段2:开机后延迟多少分钟执行
字段3:在哪个目录下的任务