Reading a cron expression
A cron expression describes the schedule of a recurring task on Linux, in CI services, orchestrators or databases. It has five fields: the minute (0-59), the hour (0-23), the day of the month (1-31), the month (1-12) and the day of the week (0-7, where both 0 and 7 mean Sunday).
In each field, the asterisk means “all values”, a comma separates a list (1,15), a hyphen gives a range (9-17) and the slash gives a step (*/15: every 15 units). English month and day names (JAN, MON) are accepted.
Day of month and day of week
When both the day of the month and the day of the week are restricted, as in “0 9 1 * 1”, cron runs the task if either one matches: here the 1st of the month and every Monday. This is a classic trap, which the displayed sentence points out.
What the tool does not handle
It reads the standard five-field syntax. Variants specific to some software (seconds field, year, L, W, #) are not recognized. The next runs are computed in your device's time zone or in UTC, as you choose: check the time zone of the server that will run the task.
Frequently asked questions
Is my expression sent anywhere?
No. The parsing and the date calculation happen in your browser, and nothing is stored.
What does */5 mean in the minutes field?
Every 5 minutes, starting at minute 0: at minutes 0, 5, 10… 55 of every hour.
How do I run a task on the last day of the month?
Standard syntax has no “last day”. You schedule the task every day and let the script check whether tomorrow is the 1st, or you use a scheduler that accepts L.
Why does the next date differ from my server?
Often because of the time zone: a server is usually set to UTC. Choose “UTC” in the tool to match its schedule.