Skip to content
ohsudo

Cron Expression Builder

Build and explain cron expressions, see the next runs.

● Runs 100% in your browser — nothing you type leaves this page.

“At every 15 minutes past every hour from 9 through 17 on every day-of-week from Monday through Friday.”

Next runs (in your local time zone)

Examples

The address bar updates as you go, so you can bookmark or share the result.

How to use it

Type a cron expression in the big field, or edit one part at a time in the five boxes below it. The sentence underneath explains exactly when the job runs, and the list shows the next five run times in your local time zone.

Cron syntax

A 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–7 or SUN–SAT, 0 and 7 are Sunday)
│ │ │ │ │
* * * * * command to run
Symbol Meaning Example
* every value * in the hour field = every hour
, a list 1,15 = on the 1st and the 15th
- a range 1-5 = Monday through Friday
/ a step */10 = every 10 minutes

Shortcuts like @hourly, @daily, @weekly, @monthly, @yearly and @reboot also work in most cron implementations.

Examples

Expression Runs
*/5 * * * * every 5 minutes
0 * * * * at the start of every hour
30 2 * * * every day at 02:30
0 9 * * 1-5 weekdays at 09:00
0 0 1 * * at midnight on the 1st of every month
0 3 * * 0 Sundays at 03:00

Shell, we have a problem!

If you set both day-of-month and day-of-week, cron runs the job when either one matches. 0 0 13 * 5 runs on every 13th and on every Friday — not only on Friday the 13th.

Common gotchas

FAQ

How do I edit my crontab?

Run crontab -e to edit and crontab -l to list your jobs. System-wide jobs live in /etc/crontab and /etc/cron.d/, where entries have an extra field for the user.

Does this support seconds or years?

No. Standard Linux cron has five fields and a one-minute resolution. Some tools (Quartz, some cloud schedulers) add a seconds or a year field — check their documentation.