Cron Expression Explainer
Read a cron schedule in plain English and see exactly when it will run next
Five fields (minute, hour, day of month, month, day of week), six with a leading seconds field, or a macro such as @daily. Explained as you type.
Schedule
Next 10 runs
| # | UK time | UTC | From now |
|---|
About cron expressions
Cron is the job scheduler built into Unix and Linux. Each line of a crontab pairs a schedule with a command, and the schedule is a cron expression: five space-separated fields giving the minute, hour, day of the month, month and day of the week on which to run. The same syntax is used by Kubernetes CronJobs, GitHub Actions, GitLab CI, AWS EventBridge (with variations), WordPress plugins and countless job libraries, so it pays to be able to read it at a glance.
The five fields
- Minute: 0 to 59
- Hour: 0 to 23 (cron uses the 24-hour clock)
- Day of month: 1 to 31
- Month: 1 to 12, or JAN to DEC
- Day of week: 0 to 7, or SUN to SAT, where both 0 and 7 mean Sunday
Each field accepts * (every value), a single value (5), a list (1,15), a range (1-5) and a step (*/15 means every 15th value from the start, 10-50/20 means 10, 30 and 50). Many libraries, such as Spring, Quartz and node-cron, add a sixth field for seconds at the front; this tool accepts that too. The macros @hourly, @daily (or @midnight), @weekly, @monthly and @yearly (or @annually) are shorthands, and @reboot runs once at start-up.
How to use the explainer
- Type or paste an expression, or pick an example. It is checked and explained as you type, with any error pinned to the field and value at fault.
- Choose the time zone your server's cron daemon uses. A Linux server set up for the UK often runs in Europe/London, while cloud services and containers usually run in UTC.
- Read the plain-English summary, the breakdown of each field, and the next 10 run times in both UK time and UTC.
- Use Copy link to share the expression; it is stored in the address as
?cron=.
The day-of-month and day-of-week trap
When both day fields are restricted, cron runs the job when either matches, not both. So 0 0 13 * FRI does not mean "Friday the 13th": it runs at midnight on the 13th of every month and on every Friday. If either field starts with *, the fields are combined with AND instead, which is why 0 0 */2 * MON means "odd-numbered days that are also Mondays". The explainer applies the same rule as Vixie cron and cronie and spells out which one is in force.
Clock changes: BST and GMT
UK clocks go forward at 01:00 GMT on the last Sunday in March and back at 02:00 BST on the last Sunday in October. A schedule running in UK time meets two awkward cases, and the run list here follows what Vixie cron and cronie (the cron on Debian, Ubuntu, Red Hat and most other distributions) actually do:
- Spring forward: times from 01:00 to 01:59 do not exist. A job at a fixed time such as
30 1 * * *runs as soon as the clocks change, at 02:00 BST. A job whose minute or hour field starts with*simply skips the missing hour. - Fall back: times from 01:00 to 01:59 happen twice. A fixed-time job runs only once, in the first (BST) pass. A job whose minute or hour field starts with
*runs in both passes.
Worked example: with UK time selected, 30 1 * * * on Sunday 29 March 2026 is shown at 02:00 BST (01:00 UTC) with a note, while on Sunday 25 October 2026 it runs once at 01:30 BST (00:30 UTC). Choose UTC and every run is exactly 24 hours apart, which is one reason many teams set servers to UTC.
Limitations
Quartz and Spring extensions such as L (last day), W (nearest weekday), # (nth weekday) and a seventh year field are not supported, and the tool says so rather than guessing. AWS EventBridge uses a different six-field order with a year, so convert it first. Other schedulers, including systemd timers, Kubernetes and some job libraries, treat clock changes differently from Vixie cron, so check their documentation for jobs between 01:00 and 02:00 UK time. Run times are calculated from your device's clock.
Privacy
Everything is calculated in your browser. The expression is not sent to a server; it appears in the address bar only so that you can share or bookmark it.
Common questions
What is the cron expression for every 5 minutes?
The cron expression for every five minutes is */5 * * * *. The */5 in the minute field means every fifth minute counting from 0, so the job runs at 0, 5, 10 and so on past every hour of every day. Change the 5 to 15 for every quarter of an hour, or to 30 for every half hour.
What does * * * * * mean in cron?
The cron expression * * * * * runs a job once every minute. Each of the five asterisks stands for every value of its field, in the order minute, hour, day of the month, month and day of the week, so the schedule matches every minute of every hour of every day. It is the most frequent schedule that standard five-field cron allows.
How do I run a cron job every day at midnight?
To run a cron job every day at midnight, use 0 0 * * *, meaning minute 0 of hour 0 every day. The macro @daily (or @midnight) is a shorthand for the same schedule. Midnight is taken in the time zone of the cron daemon, so on a server set to UTC the job runs at 01:00 UK time during British Summer Time.
How do I run a cron job only on weekdays?
To run a cron job only on weekdays, put 1-5 in the fifth field, the day of the week, where 1 is Monday and 5 is Friday. For example, 0 9 * * 1-5 runs at 09:00 from Monday to Friday. The names work too, so 0 9 * * MON-FRI means the same. For weekends only, use 6,0 or SAT,SUN.