2-5 crontab configuration file format

2-5 crontab configuration file format

 

 

 

Points: range 0~59

Hours: range 0~23

Day: Range 1~31

Month: range 1~12 

 

Week: Range: 0~6, 0 and 7 both indicate Sunday 

 

 

Command to run

Scope: command or script

 

 

----------------------------

*

/ For every

*/2 every 2 minutes

Hours: */5 every 5 hours

 

 

to validate:

systemctl restart crond

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Guess you like

Origin blog.csdn.net/huanglianggu/article/details/106950558