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)
│ │ │ │ │
* * * * *
| Symbol | Means | Example |
|---|---|---|
* | every value | * * * * * — every minute |
, | a list | 0 9,17 * * * — 09:00 and 17:00 |
- | a range | 0 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
- Steps restart every field.
*/45in the minute field means minutes 0 and 45 — not every 45 minutes. See cron every 45 minutes. - Day of month and day of week are OR-ed.
0 9 1 * 1runs on the 1st and on every Monday, not only on Mondays that are the 1st.
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:
- Every 5 minutes · every 15 minutes · every 30 minutes
- Every hour · every 2 hours · every 6 hours
- Every day at midnight · every day at 9am · twice a day
- Every weekday at 9am · every Monday · every Friday at 5pm
- First of the month · last day of the month · every quarter
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.