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.)

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM