Cron expression
When using the option Schedule using Cron, you can execute the Job at a specific interval using a cron expression. Be aware that manual cron expressions are not supported. Use the built-in cron expression builder to create one.
The cron expression makes it possible to use more advanced options. For example, scheduling every 'first' 'Friday' of every '2' months at 23:45h. This translates to the cron expression: 0 45 23 ? 1/2 FRI#1 *
In short, the cron expression is a string that consists of five to seven fields separated by white space that represents a set of times.
The following cron formats are supported:
- MINUTES HOURS DAYS MONTHS DAYS-OF-WEEK
- MINUTES HOURS DAYS MONTHS DAYS-OF-WEEK YEARS
- SECONDS MINUTES HOURS DAYS MONTHS DAYS-OF-WEEK
- SECONDS MINUTES HOURS DAYS MONTHS DAYS-OF-WEEK YEARS
The following values are supported:
Field name |
Allowed values |
Allowed special characters |
Comments |
Seconds |
0 -59 |
* , - / |
Optional |
Minutes |
0 - 59 |
* , - / |
|
Hours |
0 - 23 |
* , - / |
|
Day of month |
1 - 31 |
* , - / ? L W |
|
Month |
1 - 12 or JAN-DEC |
* , - / |
|
Day of week |
0 - 6 or SUN-SAT |
* , - / ? L # |
|
Year |
0001 - 9999 |
* , - / |
Optional |
For more information, please refer to existing documentation on cron expressions (for example, http://en.wikipedia.org/wiki/Cron).