Cron Expression Generator

Build cron expressions with the visual editor or paste an existing expression to decode it. Get a human-readable schedule description instantly.

* * * * *
Every minute

How to Use the Cron Expression Generator

Cron is the time-based job scheduler used by Unix-like operating systems, container orchestrators like Kubernetes, CI/CD pipelines, and countless scheduling libraries across every programming language. Writing cron expressions by hand can be error-prone because the compact five-field syntax is not intuitive. This visual cron generator lets you build expressions by selecting options from dropdown menus, and instantly see the resulting schedule described in plain English.

  1. Use presets: Click a preset button for common schedules like "Every Minute", "Daily at Midnight", or "Weekdays at 9 AM" to instantly populate the fields.
  2. Customise fields: Adjust each of the five fields — minute, hour, day of month, month, and day of week — using the dropdown selectors.
  3. Read the description: The human-readable description updates in real time so you can confirm the schedule matches your intent.
  4. Copy the expression: Click the copy button to place the cron expression on your clipboard, ready to paste into your crontab, Kubernetes CronJob manifest, or application configuration.

Cron Expression Format

FieldAllowed ValuesSpecial Characters
Minute0–59* , - /
Hour0–23* , - /
Day of Month1–31* , - /
Month1–12* , - /
Day of Week0–6 (Sun=0)* , - /

Common Cron Patterns

ExpressionSchedule
* * * * *Every minute
0 * * * *Every hour at minute 0
0 0 * * *Daily at midnight
0 0 * * 0Weekly on Sunday at midnight
0 0 1 * *Monthly on the 1st at midnight
*/5 * * * *Every 5 minutes
0 9 * * 1-5Weekdays at 9:00 AM
30 2 * * *Daily at 2:30 AM

Tips for Working with Cron

Always double-check your time zone — cron typically runs in the system's local time zone, which may differ from UTC. When deploying to cloud environments, verify whether the scheduler uses UTC or your configured time zone. Use logging to confirm that jobs run at the expected times. For complex schedules, consider breaking them into multiple simpler cron entries rather than a single complex expression. Remember that the day-of-month and day-of-week fields are combined with an OR condition in standard cron, meaning a job runs if either condition is met.

Frequently Asked Questions

What is a cron expression?

A cron expression is a string of five fields separated by spaces that defines a recurring schedule. The fields represent minute (0–59), hour (0–23), day of the month (1–31), month (1–12), and day of the week (0–6, where 0 is Sunday). Special characters like asterisks (*), commas, hyphens, and slashes allow complex scheduling patterns.

How do I generate a cron expression?

Use the Generate tab to select values for each field — minute, hour, day of month, month, and day of week. The tool builds the cron expression automatically and displays a human-readable description. You can also click a preset button for common schedules like every minute, every hour, or daily at midnight.

How do I parse an existing cron expression?

Switch to the Parse tab and paste or type a five-field cron expression. The tool validates the expression and displays a plain-English description of the schedule, such as 'At 03:30, only on Monday through Friday'.

What do the special characters mean in cron?

The asterisk (*) means every possible value. A comma (,) separates a list of values (e.g. 1,15). A hyphen (-) defines a range (e.g. 1-5 for Monday to Friday). A slash (/) defines a step value (e.g. */5 in the minute field means every 5 minutes).

Does this support six-field or seven-field cron formats?

This tool uses the standard five-field cron format used by most Unix cron daemons and scheduling libraries. Some systems like Quartz add a seconds field or a year field, but those are non-standard and are not supported here.