首页 > 其他 > 详细

修改cron.daily的启动时间

时间:2014-09-16 10:47:50      阅读:304      评论:0      收藏:0      [点我收藏+]


要修改这个文件/etc/sysconfig/cron,要修改的内容如下:


## Type:         string
## Default:      ""
#
# At which time cron.daily should start. Default is 15 minutes after booting
# the system. Example setting would be "14:00".
# Due to the fact that cron script runs only every 15 minutes,
# it will only run on xx:00, xx:15, xx:30, xx:45, not at the accurate time
# you set.
DAILY_TIME="4:06"

默认是从14:15开始启动cron.daily中的程序。

修改DAILY_TIME到相应的值即可,但是,要注意的是,因为cron是每15分钟运行一次,所以实际上cron.daily的启动时间不是精确的和设定值完全一样的。


修改cron.daily的启动时间

原文:http://blog.csdn.net/laoyiin/article/details/39312969

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!