Tools / Cron expression generator

Cron expression generator

Type a cron expression like */15 9-17 * * 1-5, or plain English like “every weekday at 9am”. See what it means and when it runs next, in your timezone.

Example

*/15 9-17 * * 1-5 — At every 15th minute past every hour from 9 through 17 on Monday through Friday.

How cron expressions work

A standard cron expression 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, Sunday = 0, or SUN–SAT)
│ │ │ │ │
* * * * *
SymbolMeansExample
*every value* * * * * — every minute
,a list0 9,17 * * * — 09:00 and 17:00
-a range0 9 * * 1-5 — weekdays at 09:00
/a step*/15 * * * * — every 15 minutes

Shortcuts: @hourly, @daily (or @midnight), @weekly, @monthly and @yearly.

Two rules that surprise people

Timezones

Cron itself has no timezone: it uses the clock of whatever runs it. Servers are often on UTC, and GitHub Actions always is. Kubernetes (timeZone), AWS EventBridge Scheduler and Wisp let you set a timezone so “9am” stays 9am through daylight-saving changes. The next runs above are computed in the timezone you pick.

Common schedules

Each has its own page with the expression explained and the same schedule for other platforms:

All cron schedules →

Run a schedule without a server

Wisp runs JavaScript or Python functions on a schedule: describe the job and when it should run (“every weekday at 8am, email me yesterday’s signups”), and Wisp writes the code, sets the cron expression in your timezone and keeps a log of every run.

Related