crontab 详解

1.crontab文件格式 

{minute} {hour} {day-of-month} {month} {day-of-week} {full-path-to-shell-script} 
● minute: 区间为 059 
● hour: 区间为0 – 23 
● day-of-month: 区间为0 – 31 
● month: 区间为1 – 12. 1 是1月, 12是12月. 
● Day-of-week: 区间为0 – 7. 周日可以是0或7.

 2.crontab语法图示

3.举例说明

00 *   * * *  #每隔一小时执行一次
00 */1 * * *  #与上面是相同的任务
原文地址:https://www.cnblogs.com/yueyun00/p/10020941.html