⏰ Cron Expression Editor
Build, understand, and test cron expressions visually
Presets
Expression
Description
Next 10 Executions
Cron Expression Editor: What This Page Does
A cron expression is five fields that describe a repeating schedule. This editor works with them in three ways, all inside your browser: it builds or parses the expression, translates it into a sentence in English and Chinese, and lists the next ten times it will actually run.
- Two-way editing — type into the expression bar and the five field boxes follow; edit any field box and the bar is rebuilt. Whichever side you prefer, you end up with the same five fields.
- Plain-language translation — every valid expression gets a sentence that says what it means, including the part most people get wrong: the day-of-month / day-of-week rule (see below).
- The next ten executions — two columns, the same instants as UTC and as your browser's local time. Catching a mistake here is much cheaper than catching it in a log file at 03:00.
- Fourteen presets for schedules that come up constantly — every five minutes, weekdays at 9 AM, first of the month, yearly on January 1st. One click loads the expression and updates everything on the page.
- Validation that names the problem —
60 * * * *,*/0 * * * *or a field with a typo produce an error naming the offending field, instead of silently showing an empty list.
The Five Fields, In Order
| # | Field | Allowed values | Notes |
|---|---|---|---|
| 1 | Minute | 0–59 | — |
| 2 | Hour | 0–23 | 24-hour clock, no AM/PM |
| 3 | Day of month | 1–31 | a 31 here simply never fires in a shorter month |
| 4 | Month | 1–12 or JAN–DEC | names are case-insensitive |
| 5 | Day of week | 0–6 or SUN–SAT | 0 = Sunday, and 7 also means Sunday |
All five fields are required. This is the POSIX / Vixie crontab form — the one used by
crontab -e and by the files in /etc/cron.d/ on Linux and BSD.
Syntax This Editor Understands
| Operator | Meaning | Example |
|---|---|---|
* | every value in the field's range | * * * * * — once a minute |
, | a list of values | 0 9,17 * * * — at 09:00 and at 17:00 |
- | an inclusive range | 0 9-17 * * * — every hour from 09:00 through 17:00 |
/ | a step, from the start of the range | */15 * * * * — every 15 minutes |
a/n | start at a, then repeat every
n |
5/10 * * * * — minutes 5, 15, 25, 35, 45, 55 |
a-b/n | every n inside a range |
1-30/2 * * * * — odd minutes in the first half of the hour |
JAN–DEC, SUN–SAT | three-letter names, any case | 0 12 * * MON — every Monday at noon |
The day-of-month / day-of-week rule
When both day fields are restricted, Vixie cron — and cronie, and the other
implementations descended from it — treat them as OR, not AND.
0 0 1 * 1 therefore means "midnight on the 1st of the month or on any
Monday", not "midnight on Mondays that happen to be the 1st". This editor applies the OR rule
and its sentence says so; you can confirm it from the next-executions list, where plain Mondays
show up alongside the 1st. If one of the two fields is *, the rule does not
apply — the remaining condition is simply used on its own.
One caveat worth carrying with you: not every scheduler implements cron the same way. Quartz
(Java) wants a ? in one of the two day fields, and AWS EventBridge has its own
restrictions and limits. What this page validates is the standard crontab dialect.
Worked Examples
Every sentence in the right-hand column is this editor's own output — measured, not paraphrased.
| Expression | What the page says |
|---|---|
* * * * * | Every minute |
*/5 * * * * | Every 5 minutes |
5/10 * * * * | Every day, every 10 minutes from :05 to :59 of every hour |
*/15 9-17 * * 1-5 | Every Mon to Fri, every 15 minutes from 09:00 to 17:45 |
0 9 * * 1-5 | Weekdays at 9:00 AM |
0 0 1 * * | First day of every month at midnight |
0 0 1 1 * | January 1st at midnight (yearly) |
0 0 1 * 1 | On day 1 of the month or on Mon, at 00:00 |
0 0 * * 7 | Every Sun, at 00:00 |
0 0 29 2 * | On day 29 of the month in Feb, at 00:00 — a real schedule, but only in leap years: the next run is 2028-02-29 |
0 0 30 2 * | On day 30 of the month in Feb, at 00:00, plus "No run in the next 5 years — check the day / month combination" |
What It Deliberately Does Not Support
- Seconds. This is the 5-field form. A 6-field Quartz or Spring expression
such as
0 0 12 * * ?is reported as an error rather than half-interpreted. - Quartz-only tokens.
L(last day of the month),W(nearest weekday) and#(nth weekday) are not part of the Vixie grammar and are rejected. - Macros.
@daily,@hourlyand@rebootare rejected too — write0 0 * * *instead of@daily. - Whole crontab files. One expression at a time. There is no way to paste
a crontab, an
/etc/cron.d/snippet, or a file that mixesMAILTO=,PATH=and comments with commands. - A timezone picker. The next-runs list is computed in your browser's timezone, with a UTC column beside it. If the job runs on a server in another region, read the UTC column.
- Frequency maths and DST simulation. "This fires 720 times a month", or what a particular daemon does with 02:30 on a spring-forward day, are left to the scheduler's own documentation.
How To Use It
- Start from either end — type or paste an expression into the bar, or click one of the presets.
- Read the sentence. If it does not describe what you intended, the field you got wrong is usually obvious from the wording.
- Check the next ten runs. The local-time column is the one to compare against your own expectation of when the job should have happened.
- Or build it field by field — set minute, hour, day, month and weekday and watch the expression bar update.
- Copy the expression into your crontab, workflow file or manifest.
Where The Expression Goes Next
- Linux and BSD crontab —
crontab -e, or a file under/etc/cron.d/. - CI/CD schedules — GitHub Actions and GitLab both take a cron string for scheduled pipelines. Hosted schedulers often enforce a minimum interval and run in UTC, so check the platform's own documentation before assuming your local time.
- Kubernetes CronJob —
spec.scheduleis the same five fields, and the cluster's timezone (usually UTC) is what counts. - Application schedulers — Celery beat, Sidekiq-Cron, node-cron and friends all speak this dialect, which is exactly why the 5-field form is worth knowing by heart.
Related Tools
❓ Frequently Asked Questions
Is this cron expression editor free to use?
Yes. There is no sign-up, no usage limit and nothing to install — the whole editor runs in your browser.
Does it require an internet connection?
Only to load the page. Once it is open, parsing, translating and the next-runs preview all run client-side, so the editor keeps working offline.
Does it support seconds or six-field cron expressions?
No. This is the 5-field crontab form, so a 6-field Quartz or Spring expression such as "0 0 12 * * ?" is reported as an error instead of being half-interpreted. Seconds-level scheduling needs a different tool.
What happens when both the day-of-month and the day-of-week fields are set?
They are ORed, which is what Vixie cron does: "0 0 1 * 1" means midnight on the 1st of the month or on any Monday. The editor applies that rule and says so in the sentence it prints. If either of the two fields is *, the other one applies on its own.
Can I write MON or JAN instead of numbers?
Yes. Three-letter names are accepted in the month and day-of-week fields and are case-insensitive, so "0 12 * * MON" and "0 12 * * 1" mean the same thing.
Is 7 accepted as Sunday?
Yes. Both 0 and 7 mean Sunday in the day-of-week field, so "0 0 * * 0" and "0 0 * * 7" produce the same schedule.
Which timezone are the next executions shown in?
The left column is UTC and the right column is your browser's own timezone. There is no timezone picker, so if the job runs on a server in another region, read the UTC column.
Why does an expression like "0 0 30 2 *" show no upcoming run?
Because February never has 30 days, so that schedule can never fire. The page says there is no run in the next five years rather than leaving the list blank — that is what an impossible day/month combination looks like.
Can I paste a whole crontab file into it?
No. The editor takes one expression at a time and does not parse crontab files, MAILTO or PATH lines, or the commands themselves.
What day does the week start on?
Sunday. 0 (and 7) is Sunday, 1 is Monday, through 6 for Saturday — matching crontab.