AltUtils

Cron Parser

Explain cron expressions in plain English and preview the next run times. Build crontab schedules visually, entirely in your browser.

CategoryDev Core
Sheet15 / 42
ProcessingIn your browser
*/15
minute
9-17
hour
*
day (month)
*
month
1-5
day (week)

“At every 15th minute past every hour from 9 through 17, on weekdays (Monday through Friday).”

Field breakdown

  • Minute
    0–59
    */15
    every 15th minute
    4 values: 0, 15, 30, 45
  • Hour
    0–23
    9-17
    every hour from 9 through 17
    9 values: 9, 10, 11, 12, 13, 14, 15, 16, 17
  • Day of month
    1–31
    *
    every day
    31 values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, … 31
  • Month
    1–12 or JAN–DEC
    *
    every month
    12 values: Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec
  • Day of week
    0–7 or SUN–SAT (0 and 7 = Sunday)
    1-5
    every day from Monday through Friday
    5 values: Mon, Tue, Wed, Thu, Fri

Next 10 run times

Times shown in your time zone. The server running cron may use a different zone.

Calculating…

Visual builder— pick a schedule, the expression updates live
Minute
Hour
Day
Month

Syntax cheat sheet

┌───────────── minute (0–59)
│ ┌─────────── hour (0–23)
│ │ ┌───────── day of month (1–31)
│ │ │ ┌─────── month (1–12 or JAN–DEC)
│ │ │ │ ┌───── day of week (0–7 or SUN–SAT; 0 and 7 = Sunday)
│ │ │ │ │
* * * * *   (prepend a 6th field for seconds: s m h dom mon dow)
*
any value
,
list separator — 1,15
-
range — 1-5
/
step — */10, 0-30/5
?
same as * (day fields only)
JAN–DEC
month names
SUN–SAT
weekday names
@daily
0 0 * * * (also @midnight)
@hourly
0 * * * *
@weekly
0 0 * * 0
@monthly
0 0 1 * *
@yearly
0 0 1 1 * (also @annually)

DST note: local times that don't exist on a spring-forward day are skipped in the preview, and repeated fall-back times are shown once. Vixie cron/cronie usually run such jobs right after the clock change.

What is the Cron Expression Parser?

A cron expression is a compact schedule made of five space-separated fields — minute, hour, day of month, month and day of week — that tells a Unix cron daemon, a CI system or a cloud scheduler when to run a job. This parser explains any expression in plain English, validates every field with a precise error message (for example “Hour: 24 is out of range (0–23)”), and lists the next ten run times so you can confirm a schedule before you deploy it.

It follows the classic Vixie cron rules used by most Linux distributions: lists (1,15), ranges (1-5), steps (*/10 or 0-30/5), month and weekday names (JAN–DEC, SUN–SAT), 0 or 7 for Sunday, and the @hourly, @daily, @weekly, @monthly and @yearly macros. A 6-field expression is detected automatically and treated as seconds-first, the format used by Spring's @Scheduled and node-cron. When both day-of-month and day-of-week are restricted, a day matches if either field matches — the subtle rule behind many “why did my job run today?” surprises.

Run times are computed on the calendar in your local time zone (or UTC) without stepping minute by minute, so impossible schedules such as 0 0 30 2 * are reported as never running instead of freezing the page. Everything happens in your browser; nothing is sent to a server.

Frequently asked questions

What does */5 * * * * mean?
It runs every 5 minutes: at minutes 0, 5, 10 … 55 of every hour, every day. The */n step syntax means “every n-th value of the field's range, starting at its minimum”, so */5 in the minute field always aligns to the hour rather than to when the job was installed.
Is Sunday 0 or 7 in cron?
Both. In the day-of-week field 0 and 7 both mean Sunday, 1 is Monday and 6 is Saturday. You can also use the names SUN–SAT, which are case-insensitive, so 0 9 * * MON-FRI is the same as 0 9 * * 1-5.
Why does 0 0 1 * 1 run on every Monday, not only when the 1st is a Monday?
In standard (Vixie) cron, if both the day-of-month and day-of-week fields are restricted, the job runs when either one matches. So 0 0 1 * 1 runs at midnight on the 1st of every month and on every Monday. If one of the two fields starts with * (such as */2), both must match instead.
Does cron support seconds?
Classic crontab does not — its smallest unit is one minute. Many schedulers (Spring @Scheduled, Quartz, node-cron, some cloud services) accept a sixth field for seconds at the start, e.g. */30 * * * * * for every 30 seconds. This tool detects 6-field expressions automatically. Note that Quartz numbers weekdays 1–7 starting from Sunday, unlike cron's 0–7, so use names such as MON-FRI to stay unambiguous.
Which time zone does cron use?
System cron uses the time zone of the server (often UTC on cloud machines), unless the crontab sets CRON_TZ or TZ. Kubernetes CronJobs use the controller's time zone unless spec.timeZone is set, and GitHub Actions schedules are always in UTC. Use the UTC toggle to preview times as such systems will see them.
What is @reboot?
@reboot is a special string that runs a job once when the cron daemon starts, typically right after the machine boots. It isn't a time-based schedule, so it has no next run times. Also note that L, W and # (last day, nearest weekday, n-th weekday) are Quartz extensions that standard cron rejects.