Engineering, made clearer.Find a tool /
Learn · Practise · Understand

Learn Cron

Five-field cron specifies minute, hour, day-of-month, month and weekday. Use an explicit timezone.

3 sections · 10 explained questions · About 10 minutesAll lessons →

Read each short explanation, work through the example, then answer a pop quiz. Every answer explains the reasoning. Incorrect answers unlock a fresh question on the same idea; the full lesson contains ten questions.

01Understand the basics

Ready to learn

A common five-field cron expression selects minute, hour, day of month, month and day of week, in that order. Cron implementations differ, so confirm the scheduler and timezone. The tools here use numeric five-field expressions in UTC.

Section 1 question · 4 variations
0 9 * * 1-5 means?

02Understand field steps

Ready to learn

A step selects matching values within a field. It does not always represent a constant elapsed interval across field boundaries.

Try a different value

Move the slider or use the arrow keys to see what changes.
*/15 * * * *Selected minutes: 0, 15, 30, 45Not a continuously elapsed interval
Section 2 question · 3 variations
Which minutes does */20 select?

03Choose the time basis

Ready to learn

UTC avoids daylight-saving clock changes in the schedule. A local-time scheduler may skip or repeat a wall-clock time when clocks change. Monitor execution and define missed-run behaviour.

Section 3 question · 3 variations
Does 09:00 UTC always equal 09:00 London time?

Put it to work

Apply what you’ve learned using the related tools.