- Home
- Generators & Encoders
- Cron Expression
Cron Expression
Explain a five-field cron expression and list the next times it will run.
Five fields: minute, hour, day of month, month, day of week.
Five fields, and the weekday rule
The fields are minute, hour, day of month, month and day of week. Names such as JAN or MON are accepted, and 7 means Sunday just as 0 does. When both the day of month and the day of week are restricted, a run happens if either one matches. That is the usual cron rule, not a requirement that both match. Seconds are not part of this five-field form.