Free tool · No sign-up

Cron expression explainer

Type a cron expression to see what it means in plain English and when it runs next, in UTC and in your own time zone.

The five fields

A cron expression is five fields separated by spaces, in this order:

Minute0–59
Hour0–23
Day of month1–31
Month1–12 or JAN–DEC
Day of week0–6 or SUN–SAT (0 is Sunday)

Special characters

*every value* * * * * runs every minute
,a list of values0 9,17 * * * runs at 09:00 and 17:00
-a range of values0 9 * * 1-5 runs at 09:00, Monday through Friday
/a step through a range*/15 * * * * runs every 15 minutes

Know when a scheduled job doesn't run

A Checkmeup cron monitor reads the same expression and alerts you by email, Telegram, Slack or webhook when a run doesn't check in on time. Read the cron job monitoring guide, or how to catch a GitHub Actions schedule that stopped. The free plan includes 10 monitors.

Cron expression questions

What is a cron expression?

A cron expression is the schedule line of a cron job: five fields separated by spaces, for the minute, hour, day of month, month and day of week. The job runs at every minute that matches all five. "30 2 * * *" runs at 02:30 every day.

Which time zone does cron use?

Cron reads the schedule in the time zone of the machine it runs on, usually UTC on servers and in containers. GitHub Actions and most hosted schedulers use UTC too. That's why the explainer shows each run in UTC and in your own time zone.

How do I run a cron job every 5 minutes?

Write "*/5 * * * *": the step "*/5" in the minute field means every fifth minute, starting at minute 0. "*/10" runs every 10 minutes, and "0 */2 * * *" runs every 2 hours, on the hour.

What happens when I set both the day of month and the day of week?

The job runs on a day that matches either of them, not both. "0 0 1 * 1" runs at midnight on the 1st of each month and on every Monday. When either field is "*", only the other one limits the days.

How do I know a cron job stopped running?

Cron says nothing when a job fails to start, crashes, or its server goes away. A cron monitor waits for the job to ping a URL after each run, and alerts you when a ping doesn't arrive on schedule. Checkmeup reads the same five-field expression, so the times above are when it expects each ping.

Know when a cron job stops.

10 monitors, no credit card, no expiry date on the free plan.

Create free account →

We use cookies for basic web analytics (page views, traffic sources). No ads, no cross-site tracking.