Cron expression explainer
Paste a crontab line to read it in plain English and see its next runs in the server’s time zone and yours. Runs that a daylight-saving change moves, doubles or drops are flagged, the way cronie (Linux cron) actually handles them.
Read as cronie reads it (the cron on Fedora, RHEL, Arch and others; Debian and Ubuntu’s cron agrees on everything here except CRON_TZ, which it ignores). Your schedule is sent to our server to work out the times. No guarantee; use at your own risk — see the privacy policy and terms.
What this cron explainer does
Paste a line from a crontab and the page tells you, in one sentence, when it runs: 30 2 * * 1-5 becomes “At 02:30, Monday to Friday”. Underneath you get each of the five fields spelled out, the next runs listed in the server’s time zone and in yours side by side with how long until each one, and a list of every daylight-saving change in the next twelve months with what it does to this particular job.
That last part is the reason the tool exists. A job set for 02:30 in Berlin or New York doesn’t simply “run at 02:30” on the two nights a year the clocks change: one night 02:30 never happens, the other night it happens twice. What the job does then depends on how it’s written and on the cron daemon. The page follows cronie, the cron on Fedora, RHEL, CentOS, Rocky, Alma and Arch, whose time-jump logic Debian and Ubuntu’s cron shares, and tells you whether your job runs late, twice, once or not at all.
Why use it
Plain English
One sentence for the whole schedule, and each of the five fields explained, with the surprises (uneven steps, missing 31sts, leap days) pointed out.
Next runs, two zones
The next 10 to 100 runs in the server’s time zone and yours side by side, with how long until each one, kept current while the page is open.
Daylight saving flagged
Every clock change in the next 12 months, and whether this job runs late, twice, once or not at all, as cronie handles it.
The day rule
Warns when both day fields are set and cron runs on either, and when a field starting with * changes that.
No silent misreads
Quartz, Spring, AWS, Jenkins and systemd syntax is named, with the cron equivalent where one exists, instead of being read as something else.
Shareable
Copy link gives a link with the schedule and server zone. Whoever opens it sees the runs in their own time zone.
How to use it
- Paste the line. Just the schedule (
*/15 9-17 * * 1-5), a whole crontab line with its command, or a few lines withCRON_TZ=orMAILTO=above the entry. Comments and blank lines are skipped. - Set the server’s time zone. Cron runs on the clock of the machine it’s on, usually UTC on cloud servers and the local zone on office ones. Type a zone name, a city or an abbreviation (Europe/Berlin, New York, IST). Run
timedatectlon the server if you’re not sure. - Check your own zone. The page fills it in from your browser so each run also shows in your local time. Change it to see the times for a colleague.
- Read the result. It updates as you type. Choose how many runs to list (10, 25, 50 or 100), and use Copy link to send someone the same schedule and server zone: they see the runs in their own time zone.
Cron syntax in one table
| Field | Values | Names |
|---|---|---|
| Minute | 0–59 | |
| Hour | 0–23 | |
| Day of month | 1–31 | |
| Month | 1–12 | Jan–Dec |
| Day of week | 0–7 (0 and 7 are Sunday) | Sun–Sat |
Each field takes * (every value), a number, a range 1-5, a list 1,15, or a step: */15 is every 15th value from the start of the field, 5-55/10 every 10th from 5 to 55. A step needs * or a range in front of it: 5/10 is an error in Linux cron, though Quartz and Spring accept it. Names are the first three letters in any case (mon-fri, JAN); Monday is an error. Instead of the five fields you can write @yearly (or @annually), @monthly, @weekly, @daily (or @midnight), @hourly or @reboot, all lower case.
Steps restart at the beginning of their field: */7 in the minute field runs at :00, :07 … :56 and then :00 again, four minutes later. The tool points this out in the field breakdown, along with a 31st that skips short months and a 29th of February that only comes in leap years.
The day-of-month and day-of-week trap
When both day fields are restricted, cron runs on days that match either of them. 0 0 13 * 5 runs on the 13th of every month and on every Friday, not on Friday the 13th. Cron decides whether a field is restricted by its first character: */2 starts with *, so it counts as unrestricted, and 0 0 */2 * 0 needs both (odd-numbered days that are Sundays). A full range such as 1-31 doesn’t start with *, so 0 0 1-31 * 1 runs every day. The result says which rule applies whenever it matters.
What happens on the nights the clocks change
cronie wakes up every minute and compares the clock with the last minute it handled. When the clock jumps, it sorts jobs into two kinds: wildcard jobs, whose minute or hour field starts with * (and @hourly), and fixed-time jobs, everything else. 0 0-23 * * * runs every hour, but it is a fixed-time job.
| Clock change | Fixed-time job (30 2 * * *) | Wildcard job (*/15 * * * *) |
|---|---|---|
| Forward by up to 3 hours (spring) | Each skipped time runs once, straight after the jump: the 02:30 job runs at 03:00 | Skipped times don’t run; it carries on from the new time |
| Back by up to 3 hours (autumn) | Runs the first time round only | Runs in both copies of the repeated hour |
| More than 3 hours either way | Treated as a clock correction: skipped times are lost, repeated ones run again | |
The same holds for half-hour changes, such as Lord Howe Island’s. With CRON_TZ= it’s different: cronie checks the job against that zone’s clock each minute without any of the above, so a time that zone skips never comes and a repeated one runs twice, fixed-time or not. And while the server’s own clock repeats an hour, cronie runs only wildcard jobs, so a fixed-time CRON_TZ job that falls in that real hour is skipped. The page works all of this out for the coming year.
systemd timers, Kubernetes CronJobs, GitHub Actions and cloud schedulers each handle clock changes their own way, so these flags describe cron only.
Pasted from somewhere else?
Plenty of schedulers use cron-like syntax with differences, and reading one as cron gives wrong times. The page recognises them and says so instead of guessing:
- Seconds first (Quartz, Spring’s
@Scheduled, node-cron): six or seven fields. Where cron can say the same thing it offers the five-field version, such as30 2 * * MON-FRIfor0 30 2 * * MON-FRI. A numeric weekday is left alone, because Quartz counts 1–7 from Sunday and Spring 0–7 like cron. - Quartz extras
?,L,Wand#, Jenkins’Hand cronie’s random~: each is named, with the usual cron workaround. - AWS EventBridge
cron(0 12 * * ? *): six fields with a year; converted where possible. - GitHub Actions (
- cron: '…'): read as cron but listed in UTC, which is what GitHub uses. - Kubernetes CronJob (
schedule:withtimeZone:): listed in its time zone, with a note on where the Kubernetes controller differs from cron. - systemd
OnCalendar=times: recognised and pointed out.
Who it’s for
For sysadmins
Check a crontab line before it goes live, and find the jobs that will run twice or late when the clocks change.
For developers
Translate a Spring or Quartz schedule into cron, or read a GitHub Actions or Kubernetes schedule in your own time zone.
For on-call teams
Work out when a nightly job actually ran in local time, and send colleagues a link that shows it in theirs.
For code reviewers
See at a glance what a schedule in a pull request means, including the day-of-month and day-of-week trap.
Linking to a schedule
Every result has its own address: ?cron=30+2+*+*+*&tz=Europe/Berlin&n=10. Copy link builds it and puts it in the address bar, so you can bookmark a schedule or drop it into a ticket. Your own time zone isn’t in the link; whoever opens it sees the runs in theirs.
Frequently asked questions
Which cron does this follow?
cronie, the cron daemon on Fedora, RHEL and its rebuilds, and Arch. Debian and Ubuntu’s cron reads schedules the same way and shares the daylight-saving logic, but it ignores CRON_TZ. BSD and macOS cron, systemd timers and hosted schedulers can differ.
Why does my 02:30 job run at 03:00 once a year?
On the night daylight saving starts in Europe or the US, 02:00 jumps to 03:00 and 02:30 never happens. cronie notices that it skipped an hour and runs fixed-time jobs from that hour straight away, at 03:00. A wildcard job such as */15 * * * * isn’t made up: it just carries on from 03:00.
Does a 01:30 job run twice when the clocks go back?
Not with cron, if the minute and hour are fixed numbers: cronie runs it the first time 01:30 comes round and skips the repeat. A job whose minute or hour field starts with * (like 30 * * * *) runs in both copies of the hour. With CRON_TZ= set, cronie checks the job against that zone’s clock and a repeated time runs twice even for a fixed-time job.
Why does 0 0 13 * 5 run every Friday?
Because both day fields are restricted, and cron then runs on days that match either one: every 13th and every Friday. To run only on Friday the 13th, schedule 0 0 13 * * and check the weekday in the command: [ "$(date +\%u)" = 5 ] && /path/to/job (cron needs the % escaped).
Does TZ= in a crontab change when jobs run?
No. TZ= only sets the time zone the command sees. cronie schedules by CRON_TZ=; Debian and Ubuntu’s cron always uses the system zone. The page notes a TZ= line and lists the runs in the server zone.
Can cron run a job every 30 seconds?
No: cron’s smallest unit is a minute. A six-field expression with seconds comes from Quartz, Spring or node-cron. The usual workaround is two entries, one of them starting with sleep 30;, or a systemd timer.
How do I run a job on the last day of the month?
Cron has no “last day” (Quartz’s L). Run on days 28–31 and let the command check that tomorrow is the 1st: 0 23 28-31 * * [ "$(date -d tomorrow +\%d)" = 01 ] && /path/to/job.
Is my schedule stored?
The schedule you type is sent to the site’s server to work out the times, like any web request. See the privacy policy.
Read the full story: The cron job that ran twice (or never) when the clocks changed, and the day-of-week trap (11 min read)
More developer tools
- JSON / CSV / PHP Converter: Convert between JSON, XML, CSV, YAML, query strings and PHP arrays, var_dump(), print_r() and serialize() in any direction.
- What’s My IP, VPN Check & Browser Info: What every website learns about you: your IP address, whether you look like you’re on a VPN, proxy or Tor and whether your real IP leaks past it, plus your browser, system, screen, language, time zone and headers.
- Time-Saving Chrome Extensions: Free Chrome extensions that turn daily chores into one click: clear out every duplicate tab, turn bare Apache and nginx directory listings into a file browser you drive from the keyboard, and start a Google Meet with its link already copied.
- Paste Notepad & Converter: Strip Formatting, View HTML, Convert JSON: A blank page for text you need for a minute: paste with formatting and pictures, or strip it to plain text in one click.
- Text & Code Diff Checker: Compare Two or More Texts: Compare two versions of text or source code, or as many as ten with each other.