CompileTime / Field notes

Read a five-field cron expression

Understand cron fields, step values, day matching, and timezone assumptions.

The five fields

PositionMeaningValues
1Minute0–59
2Hour0–23
3Day of month1–31
4Month1–12
5Day of week0–7; 0 and 7 are Sunday

Three useful schedules

*/15 * * * *    Every 15 minutes
0 9 * * 1-5     At 09:00, Monday to Friday
30 2 1 * *      At 02:30 on the first of each month

Open the cron calculator to preview these schedules in your browser’s timezone.

Step values and day matching

In the minute field, */15 matches 0, 15, 30, and 45. For ordinary Unix cron, restricting both day-of-month and day-of-week usually matches either restriction. Confirm this behavior in your scheduler.

Check your runtime

Quartz, cloud schedulers, and Unix cron can use different field counts and syntax. Daylight saving behavior also depends on the scheduler and timezone. The calculator supports numeric five-field schedules and searches up to two years ahead.

Explore all tools →