Cron expression examples & cheat sheet

Common cron expressions explained — every 5 minutes, hourly, daily at midnight, weekdays, monthly, and more. Each with plain-English meaning and next run times.

How to read a cron expression

┌───────────── minute        (0–59)
│ ┌─────────── hour          (0–23)
│ │ ┌───────── day of month  (1–31)
│ │ │ ┌─────── month         (1–12)
│ │ │ │ ┌───── day of week   (0–6, Sunday = 0)
│ │ │ │ │
* * * * *

* means "every", */n means "every n-th", a-b is a range, and a,b is a list. Paste anything into the cron generator to decode it or build your own.

By the minute

Hourly schedules

Daily schedules

Weekly schedules

Monthly & quarterly

Yearly

@-shortcuts

Most cron implementations (including Vixie cron and cronie) accept named shortcuts in place of a full expression:

Shortcut Equivalent
@hourly 0 * * * *
@daily 0 0 * * *
@weekly 0 0 * * 0
@monthly 0 0 1 * *
@yearly 0 0 1 1 *
@reboot — runs once at startup (no cron equivalent)