首页 > 其他 > 详细

crontab not running

时间:2015-09-23 18:49:00      阅读:186      评论:0      收藏:0      [点我收藏+]

there are mutliple ways to describle this issue

1. crontab not running

2. crontab not running and not giving error in cron log

3. crontab not running at the correct time

 

all this is because crond daemon process is reading the wrong time.

 

in my case, I set up a crontab like below

1 * * * * /bin/bash /tmp/test.sh
1 2 * * * /bin/bash /tmp/test.sh

  

The first line works. The second line not running at the correct time which is 2 am. 

This is because crond is using a wrong time.  Might because some body reset the system time but not restart crond process

 

crontab not running

原文:http://www.cnblogs.com/kramer/p/4832790.html

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