Cron expressions explained: the five fields with examples
Cron schedules look cryptic at first. Cron expression explainer turns one into plain English with the next run times.
Steps
- Paste the cron expression, for example
30 9 * * 1-5. - Choose local time or UTC.
- Read the meaning and the next five runs.
Use cases
- Checking a schedule before deploying it.
- Debugging a job that ran at the wrong time.
- Learning the syntax.
Tips
- The order is minute, hour, day of month, month, day of week.
*/15means every 15 units.1-5is a range.1,15is a list.- If both day-of-month and weekday are set, cron runs when either matches.
- Servers usually run cron in UTC, so check the zone. Convert times with the Timestamp converter.