List all Scheduled Tasks
[Email protected] ~]# crontab-l
List specified user task schedules
[Email protected] ~]# crontab-u guo-l
-U: Specify a user, the no-u option is the current user;
-E: Make planning tasks;
-L: Lists scheduled tasks;
-R: Deletes a scheduled task.
3 echo "OK" >/root/cron.log
what does the numeric sub-table for each field mean? From left to right, in order: minute, time, day, month, week, command line. The meaning of the above example is: On June 5 (This day must be 3) 10:01 execute command echo "OK" > /root/cron.log
See if the Crond service is started
[[Email protected] ~]# service Crond Statuscrond (PID 1464) is running ...
If it is a stop state, you need to start it: [[email protected] ~]# service Crond Statuscrond stopped [[email protected] ~]# Service Crond start is starting Crond: Determine
This article is from "Linux rookie" blog, please be sure to keep this source http://490617581.blog.51cto.com/11186315/1759876
Cron Scheduled Tasks