Crontab-e
Join:
The first task is executed at 12 o'clock every day.
The second task is executed at every Sunday.
Split line ------------------------------------------------------------------------------------------------------------
Http://blog.csdn.net/tianlesoftware/article/details/5315039
Http://www.blogjava.net/freeman1984/archive/2010/09/23/332715.html
Http://www.2cto.com/ OS /201301/183226.html
Crontab has three ways to execute a scheduled task:
1 is configured by crontab-e to generate a file with the same name as a specific user under/var/spool/cron/crontabs /.
2 is the scheduled task in the/etc/cron. daily/etc/cron. Weekly/etc/cron. Monthly directory.
3. Edit the/etc/crontab file and directly add the task command to the/etc/crontab file. In fact, 2 and 3 are the same. The daily weekly monthly task is also executed by the command in the crontab file.
The cron software checks the/etc/crontab file every minute in the background and files under/var/spool/cron. Check whether a scheduled job needs to be executed. This type of job is generally called cron jobs.
FAQs:
Sometimes the scheduled task is not executed. Check whether the File Permission is correct and you do not have the execution permission.