迷茫2017-04-17 15:17:55
Neither of the first two answers is accurate:
The value range and meaning of the five columns of numbers representing time incrontab
are as follows:
分钟 (0-59)
小时 (0-23)
日期 (1-31)
月份 (1-12)
星期 (0-6) // 0 代表星期天
If you write:
0 0 */3 0 0 xxx.sh
This is not strictly three days. This will be executed on the 1,4,7,10,13,16,19,22,25,28,31
day of each month. For details, please see: https://segmentfault.com/q/1010000002402396/a-1020000002402524
ringa_lee2017-04-17 15:17:55
The first execution will start from 0:00 the next day and 72 hours later