Free tool

Cron expression generator and translator

Paste a cron expression to read it in plain English and see when it runs next, or build one below. Everything runs in your browser.

Every 5 minutes

*/5

Minute

*

Hour

*

Day of month

*

Month

*

Day of week

Next runs

Working out the next runs…

Build one

Common schedules

Cron syntax in one minute

A standard cron expression has five fields separated by spaces:

text
┌───────────── minute (0-59)
│ ┌─────────── hour (0-23)
│ │ ┌───────── day of month (1-31)
│ │ │ ┌─────── month (1-12 or JAN-DEC)
│ │ │ │ ┌───── day of week (0-6 or SUN-SAT; 7 is also Sunday)
│ │ │ │ │
* * * * *
SymbolMeaningExample
*Every value* * * * * runs every minute
,A list0 9,17 * * * runs at 09:00 and 17:00
-A range0 9 * * 1-5 runs at 09:00 Monday to Friday
/A step*/15 * * * * runs every 15 minutes
@daily and friendsShorthands@hourly, @daily, @weekly, @monthly, @yearly

Two rules trip people up:

  • Day of month and day of week combine with OR when both are set. 0 0 1 * 1 runs on the 1st of the month and also on every Monday. If either field starts with *, both must match instead.
  • The time zone is the server's. Cron uses the time zone of the machine (or container) it runs on. GitHub Actions schedules always use UTC; Kubernetes CronJobs can set timeZone.

This tool follows standard 5-field cron as used by cron on Linux (cronie, Vixie cron), Kubernetes and GitHub Actions. Quartz and Spring use 6 or 7 fields with seconds first; AWS EventBridge uses 6 fields with a year. Those aren't supported here.

Common cron schedules

Know when the job doesn't run

Cron fails quietly: if the server is down, the crontab was overwritten or the script exits early, nothing tells you. A heartbeat monitor flips it around: the job pings a URL each time it succeeds, and you're alerted when the ping doesn't arrive in time.

crontab
0 3 * * * /usr/local/bin/job.sh && curl -fsS -m 10 --retry 3 https://uptenna.com/hb/<token>

With an Uptenna heartbeat you set how often the job should run and a grace period. If the ping is late, an incident opens and you get an alert; ping /hb/<token>/fail to report a failure straight away. Email alerts are free; read how to monitor cron jobs for the details.

Frequently asked questions

What does */5 mean in cron?

A step: every 5th value of the field, starting at its lowest value. In the minute field, */5 runs at :00, :05, :10 … :55. It follows the clock, not the time the job last ran.

How do I run a cron job every 30 seconds?

Standard cron can't: its smallest unit is a minute. Add two entries, one with sleep 30; before the command, or use a long-running process or a systemd timer, which supports seconds.

What time zone does cron use?

The time zone of the system that runs it, usually set by TZ or /etc/localtime. Servers often run in UTC. GitHub Actions schedule triggers always use UTC. The tool above can show the next runs in UTC or in your own time zone.

Why didn't my cron job run?

The usual causes: cron's minimal PATH (use full paths to commands), a missing newline at the end of the crontab, % characters that need escaping as \%, the job running as a different user, or the machine being off. Cron won't tell you, so use a heartbeat monitor to find out when a job doesn't run.

What's the difference between 0 * * * * and * * * * *?

0 * * * * runs once an hour, at minute 0. * * * * * runs every minute. Fixing the minute field is what makes a job hourly.

Get told when a cron job doesn't run

Uptime checks, cron job heartbeats and a public status page, with an alert when something breaks. Free: 5 monitors checked every 5 minutes and email alerts. Pro ($9/month): checks every minute, Slack, Discord, Telegram and webhooks, SSL expiry warnings.

  • No card required
  • Status page included
  • Email alerts included