How to read a cron expression
A standard cron schedule has five fields separated by spaces:
┌───────── minute (0–59)
│ ┌─────── hour (0–23)
│ │ ┌───── day of month (1–31)
│ │ │ ┌─── month (1–12 or JAN–DEC)
│ │ │ │ ┌─ day of week (0–6 or SUN–SAT; 7 is also Sunday)
* * * * *
| Symbol | Meaning | Example |
|---|---|---|
* | every value | * in hours = every hour |
, | list | 1,15 = on the 1st and 15th |
- | range | 9-17 = 9 through 17 |
/ | step | */15 = every 15th value (0, 15, 30, 45) |
Shortcuts are also understood: @hourly, @daily, @weekly, @monthly, @yearly.
Common cron mistakes
* 9 * * *runs 60 times — every minute from 09:00 to 09:59. For once at 9 a.m. write0 9 * * *.- Day of month and day of week together are OR, not AND.
0 0 13 * 5runs on every 13th and every Friday, not only on Friday the 13th. The explanation above says “either matches” when this applies. - Time zones. Cron runs in the server's time zone, which on cloud servers and CI systems (GitHub Actions, most Kubernetes clusters) is usually UTC. Switch the time zone above to UTC to see what will really happen.
- Daylight saving time. In zones with DST, a job at 02:30 may be skipped or run twice on the change-over nights. Schedule important jobs outside 01:00–03:00 local time, or use UTC.
- Six fields? Quartz, Spring and some cloud schedulers add a seconds field at the start (and sometimes a year at the end). This tool explains the standard 5-field format used by Unix crontab, Kubernetes CronJobs and GitHub Actions.
About the next run times
The list shows the next five times the schedule fires, calculated in your browser from the current time. Use it as a sanity check — for instance to confirm that a weekday job really skips weekends, or that “every 2 hours” starts at midnight rather than at the moment you deployed. Actual runs depend on the scheduler: a system that's off or busy at the scheduled minute may skip or delay the job.
Frequently asked questions
What does */5 mean in cron?
Every 5th value of the field, starting from its lowest value. In the minute field, */5 means minutes 0, 5, 10 … 55 — every five minutes.
Is Sunday 0 or 7?
Both. In standard cron, 0 and 7 both mean Sunday; 1 is Monday and 6 is Saturday. You can also write names like SUN or MON-FRI.
How do I run a job every 90 minutes?
A single cron line can’t express it, because steps restart every hour. Use two lines, such as 0 0-21/3 * * * and 30 1-22/3 * * *, or use a scheduler that supports intervals.
Does this tool support seconds?
No. Standard cron’s smallest unit is one minute. If your expression has six fields, remove the first (seconds) field to check the rest.