码迷,mamicode.com
首页 > 其他好文 > 详细

crontab not running

时间:2015-09-23 18:51:48      阅读:164      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!