修改cron.daily的启动时间

来源:互联网 发布:桌面便签软件 推荐 编辑:程序博客网 时间:2024/06/16 07:26


要修改这个文件/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的启动时间不是精确的和设定值完全一样的。


0 0
原创粉丝点击