0
and 7
both stand for Sunday, you can use the one you want, so writing 0-6 or 1-7 has the same result.
Also, as suggested by @Henrik, it is possible to replace numbers by shortened name of days, such as MON
, THU
, etc:
0 - Sun Sunday
1 - Mon Monday
2 - Tue Tuesday
3 - Wed Wednesday
4 - Thu Thursday
5 - Fri Friday
6 - Sat Saturday
7 - Sun Sunday
Graphically, * * * * * command to be executed
stands for:
minute |
hour |
day of month |
month |
day of week |
|
(0-59) |
(0-23) |
(1-31) |
(1-12) |
(1-7) |
|
* |
* |
* |
* |
* |
command to be executed |
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…