⏰ Cron Expression Editor

Build, understand, and test cron expressions visually

Presets

Expression

Description

Every 5 minutes
每 5 分钟

Next 10 Executions

Loading...

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.

The Five Fields, In Order

#FieldAllowed valuesNotes
1Minute0–59—
2Hour0–2324-hour clock, no AM/PM
3Day of month1–31a 31 here simply never fires in a shorter month
4Month1–12 or JAN–DECnames are case-insensitive
5Day of week0–6 or SUN–SAT0 = 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

OperatorMeaningExample
*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/nstart at a, then repeat every n 5/10 * * * * — minutes 5, 15, 25, 35, 45, 55
a-b/nevery n inside a range 1-30/2 * * * * — odd minutes in the first half of the hour
JAN–DEC, SUN–SATthree-letter names, any case0 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.

ExpressionWhat 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-5Every Mon to Fri, every 15 minutes from 09:00 to 17:45
0 9 * * 1-5Weekdays 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 * 1On day 1 of the month or on Mon, at 00:00
0 0 * * 7Every 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

How To Use It

  1. Start from either end — type or paste an expression into the bar, or click one of the presets.
  2. Read the sentence. If it does not describe what you intended, the field you got wrong is usually obvious from the wording.
  3. 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.
  4. Or build it field by field — set minute, hour, day, month and weekday and watch the expression bar update.
  5. Copy the expression into your crontab, workflow file or manifest.

Where The Expression Goes Next

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.