Tools

Cron schedule builder

Type a cron expression or build one field by field. It is explained in plain words, with the next five run times in your time zone.

The same schedule as a systemd timer, a GitHub Actions workflow and a Kubernetes CronJob

Common cron schedules

ExpressionRuns
* * * * *Every minute
*/5 * * * *Every 5 minutes
*/15 * * * *Every 15 minutes
0 * * * *Every hour, on the hour
0 */6 * * *Every 6 hours
0 0 * * *Every day at midnight
0 9 * * *Every day at 09:00
30 18 * * 1-5Weekdays at 18:30
0 9 * * 1Every Monday at 09:00
0 0 * * 0Every Sunday at midnight
0 0 1 * *The first day of every month
0 0 1 1 *Once a year, on 1 January

How it works

  • Five fieldsMinute, hour, day of month, month and day of week. Use * for any value, */n for every n, a-b for a range and commas for lists.
  • Names work tooMON-FRI and JAN-DEC are understood, and so are @daily, @hourly and @weekly.
  • The day ruleWhen both day fields are set, cron runs when either one matches. The next-run list follows that rule.

Questions

What does */5 mean?

Every 5 units of that field. In the minute field, */5 runs at minutes 0, 5, 10 and so on.

Is Sunday 0 or 7?

Both. Cron accepts 0 and 7 for Sunday.

Which time zone is used?

Your browser's. Servers often run cron in UTC, so check your server's time zone too.

More tools

Built something with it?

Show it in the server, get a code review, or ask the people who use these tools every day.

Join on Discord