Use base characters in Cron expressions
mainYou can construct expressions using the following base characters:
*: Every value in the field.-: Specifies a range (e.g.,1-5). Reversed ranges like22-1are supported (equivalent to22,23,0,1,2)./: Defines steps when combined with*,H, numbers, or ranges. For example,*/5means every 5 units. Note that*/24in a minute field means0,24,48, not every 24 minutes.,: Acts as anORoperator to concatenate values or ranges (e.g.,3,5-11/3,12).H: Schedule Jitter. Used to choose a single value determined by the implementation to distribute load.- Names: In
monthandday-of-weekfields, use three-letter abbreviations (e.g.,JAN-DEC,MON-SUN). Full names are not supported.
* * * * *
0 0 1 * *
*/5 * * * *
30,45-15/2 1 * * *
0 0 * * MON-FRI