We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
最近想了解一下定时任务的执行过程,CentOS已经为用户自动增加了三个定时任务,分别是每天,每周,每月执行的/etc/cron.daily, /etc/cron.weekly /etc/cron.monthly。具体是通过命令run-parts执行的。Centos5的时候,这三个是写在/etc/crontab里的,但是CentOS6的时候,交由anacron来执行了,anacron是一个程序,一个命令而已,它是如何调用并执行那三个定时任务的,我就不说了,关键是理解/etc/anacrontab就行了。这里我也寻找了一下,是谁在调用anacron呢?,这个我已经找到了,是在/etc/cron.hourly/0anacron脚本文件中有调用,/usr/sbin/anacron -s这个命令.
The text was updated successfully, but these errors were encountered:
注意发行版本的不同。
Sorry, something went wrong.
No branches or pull requests
最近想了解一下定时任务的执行过程,CentOS已经为用户自动增加了三个定时任务,分别是每天,每周,每月执行的/etc/cron.daily, /etc/cron.weekly /etc/cron.monthly。具体是通过命令run-parts执行的。Centos5的时候,这三个是写在/etc/crontab里的,但是CentOS6的时候,交由anacron来执行了,anacron是一个程序,一个命令而已,它是如何调用并执行那三个定时任务的,我就不说了,关键是理解/etc/anacrontab就行了。这里我也寻找了一下,是谁在调用anacron呢?,这个我已经找到了,是在/etc/cron.hourly/0anacron脚本文件中有调用,/usr/sbin/anacron -s这个命令.
The text was updated successfully, but these errors were encountered: