This example is not about scheduling “every 5 days”. But this is for scheduling “every 5th weekday”. The 5th field is DOW (day of the week). If you specify * in this field, it runs every day. To run every Friday, specify either 5 of Fri in this field. The following example ...
If bothday of weekandday of monthhave certain values, the event will run wheneitherfield matches the current time. Consider the following expression: 005-20/5 Feb2/path/to/command The preceding cron job will run once per day every five days, from 5th to 20th of Februaryplusall Tuesdays of...
2. Schedule a Job For More Than One Instance (e.g. Twice a Day) The following script take a incremental backup twice a day every day. This example executes the specified incremental backup shell script (incremental-backup) at 11:00 and 16:00 on every day. The comma separated value in ...
An example of a complete cron-expression is the string "0 0 12 ? * WED" - which means "every Wednesday at 12:00 pm". 一个完整的Cron 表达式例子是字符串“0 0 12 ? * WEB” 意味着每周三上午12:00。 Individual sub-expressions can contain ranges and/or lists. For example, the day of...