[CentOS7] at, bash, cron, anacron

声明:本文主要总结自:鸟哥的Linux私房菜-第十五章、例行性工作排程(crontab),如有侵权,请通知博主

at => /var/spool/at

/etc/at.allow, /etc/at.deny

cron => /var/spool/cron

/etc/cron.allow, /etc/cron.deny

crond每分钟检查一次: /etc/cron.d  系统设定 

          /etc/crontab   系统设定

/var/spool/cron => 作者设定

/etc/cron.hourly => cron

anacron => /var/spool/anacron

/etc/cron.daily      => anacron

/etc/cron.weekly   => anacron

/etc/cron.monthly => anacron

基本上,crontab 與 at 都是『定時』去執行,過了時間就過了!不會重新來一遍~那 anacron 則是『定期』去執行,某一段週期的執行~ 因此,兩者可以並行,並不會互相衝突啦! --源自鸟哥

原文地址:https://www.cnblogs.com/brianyi/p/7989937.html