Ad Space (320x50)

Cron Expression Generator

(0-59)
(0-23)
(1-31)
(1-12)
(0-7)
Cron Expression:
* * * * *
Runs every minute

Next 5 Scheduled Runs

Syntax Reference

* Any value
, List (1,3,5)
- Range (1-5)
/ Step (*/5)
Ad Space (300x250)

How to Use

  1. Use quick presets for common schedules
  2. Or edit individual fields directly
  3. Use the helper buttons to set field values
  4. See the human-readable description update live
  5. Check the next scheduled runs to verify
  6. Copy the expression for your scheduler

Where to Use Cron

  • Linux/Unix crontab - System task scheduling
  • GitHub Actions - Workflow schedules
  • AWS CloudWatch - Lambda triggers
  • Kubernetes CronJobs - Container scheduling
  • CI/CD Pipelines - Scheduled builds
  • Node.js (node-cron) - Application scheduling
Ad Space (300x250)

Frequently Asked Questions

What is a cron expression?

A cron expression is a string of five or six fields that define a schedule. It's used in Unix-like systems and many scheduling tools to run tasks at specific times.

What do the cron fields mean?

The five fields are: minute (0-59), hour (0-23), day of month (1-31), month (1-12), and day of week (0-7, where 0 and 7 are Sunday).

What does the asterisk (*) mean in cron?

An asterisk means 'every' value for that field. For example, * in the hour field means 'every hour'.

How do I run a job every 5 minutes?

Use */5 in the minute field: */5 * * * *. The /5 means 'every 5 units'.

Can I specify multiple values in cron?

Yes, use commas to list values (1,15,30) or hyphens for ranges (1-5). You can combine these with steps like 1-10/2.

Related Tools