crontab 执行时间与系统时间不一致

原因:修改系统时间后,未重启rsyslog

service rsyslog restart

service crond restart

 

#檢查


Mar 19 23:31:18 mysql-import crond[32047]: (CRON) INFO (Shutting down)
Mar 19 23:31:18 mysql-import crond[32114]: (CRON) INFO (Syslog will be used instead of sendmail.)
Mar 19 23:31:18 mysql-import crond[32114]: (CRON) INFO (RANDOM_DELAY will be scaled with factor 32% if used.)
Mar 19 23:31:18 mysql-import crond[32114]: (CRON) INFO (running with inotify support)
Mar 19 23:31:18 mysql-import crond[32114]: (CRON) INFO (@reboot jobs will be run at computer's startup.)
Mar 20 11:31:34 mysql-import crond[32114]: (CRON) INFO (Shutting down)
Mar 20 11:31:34 mysql-import crond[32154]: (CRON) INFO (Syslog will be used instead of sendmail.)
Mar 20 11:31:34 mysql-import crond[32154]: (CRON) INFO (RANDOM_DELAY will be scaled with factor 74% if used.)
Mar 20 11:31:34 mysql-import crond[32154]: (CRON) INFO (running with inotify support)
Mar 20 11:31:34 mysql-import crond[32154]: (CRON) INFO (@reboot jobs will be run at computer's startup.)

 

posted @ 2019-03-20 11:35  Hello_worlds  阅读(1944)  评论(0编辑  收藏  举报