Skip to content
devutils.info

DevOps Tools · Guide

Cron Expression Generator guide

Build standard 5-field cron expressions visually and read them in plain English.

Open the Cron Expression Generator

About the Cron Expression Generator

Cron schedules recurring jobs on Unix-like systems and in many platforms — Kubernetes CronJobs, GitHub Actions, CI pipelines and cloud schedulers. Its five terse fields are easy to get wrong.

Build an expression with the visual editor or type one directly. The tool validates it, explains it in plain English and previews the next run times.

How to use

  1. For each field (minute, hour, day of month, month, day of week) choose Every, Every N, Specific values or a Range.
  2. The expression updates as you go. Invalid settings (e.g. no values selected, a backwards range) are flagged and no expression is produced.
  3. Or paste an existing expression into the expression box to validate and explain it.
  4. Check the next run times, then copy the expression.

Examples

Weekdays at 9:00

Input

0 9 * * 1-5

Output

At 09:00 on Monday through Friday.

Every 15 minutes during business hours

Input

*/15 9-17 * * *

Output

Every 15 minutes during hour 9 through 17.

First day of every quarter

Input

0 0 1 1,4,7,10 *

Output

At 00:00 on day-of-month 1 in January, April, July and October.

Supported cron dialect

This tool uses the standard 5-field cron syntax of Vixie cron / cronie (most Linux distributions) and POSIX crontab, which is also what Kubernetes CronJobs and GitHub Actions accept.

┌───────────── 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 = Sunday)
│ │ │ │ │
* * * * *
  • Supported: *, lists 1,15, ranges 1-5, steps */10 and 0-30/5, month/day names, and the macros @hourly, @daily, @weekly, @monthly, @yearly.
  • Not supported: a seconds or year field, and Quartz/AWS extensions ?, L, W, #. These will be reported as errors.
  • If both day-of-month and day-of-week are restricted, the job runs when either matches (0 0 1 * 1 runs on the 1st and every Monday).

Time zones and daylight saving

Cron runs in the time zone of the machine or scheduler executing it — often UTC on servers and in managed platforms. The preview can show times in your browser's time zone or UTC, but it cannot guarantee when a job will actually run in your environment. Around daylight-saving transitions, cron implementations differ in whether skipped or repeated hours run.

Frequently asked questions

Why isn't my AWS or Quartz expression accepted?

AWS EventBridge and Quartz use different dialects (6–7 fields, ?, L, W, #). This tool validates standard 5-field cron only, to avoid producing expressions that silently behave differently.

Is `*/7` in the minute field every 7 minutes?

Not exactly. It matches minutes 0, 7, 14 … 56 and then restarts at 0 the next hour, so the gap between :56 and :00 is 4 minutes.

Why does the preview show no upcoming runs?

The schedule can never match, such as 0 0 30 2 * (30 February). The tool warns you rather than generating a schedule that never fires.

Ready to try it? Everything runs locally in your browser.

Open the tool