Productive Toolbox

Cron Expression Generator

Build cron schedules visually with dropdowns and see human-readable description instantly.

Cron Expression

Format: minute hour day-of-month month day-of-week

Visual Builder

Generated Schedule

✅Valid Cron Expression
* * * * *
Every minute

Cron Field Reference

FieldRangeSpecial CharactersExamples
Minute0-59* , - /0, 15, */5, 10-30
Hour0-23* , - /0, 12, */2, 9-17
Day of Month1-31* , - /1, 15, */7, 1-15
Month1-12* , - /1, 6, */3, 3-6
Day of Week0-6 (Sun-Sat)* , - /0, 1, 1-5, 6,0

About Cron Expression Generator

The Cron Expression Generator is a visual tool that helps developers, DevOps engineers, and system administrators create cron expressions without memorizing the complex syntax. Build cron schedules using intuitive dropdown selectors and see the human-readable description instantly.

What are Cron Expressions?

Cron expressions are time-based job scheduling strings used in Unix-like operating systems. They consist of five fields representing minute, hour, day of month, month, and day of week. These expressions are widely used in:

  • Linux cron jobs for system automation
  • CI/CD pipelines (Jenkins, GitHub Actions, GitLab CI)
  • Cloud schedulers (AWS CloudWatch Events, Google Cloud Scheduler)
  • Kubernetes CronJobs for container orchestration
  • Backend job schedulers and task automation tools

Key Features

  • Visual cron expression builder with dropdowns
  • Instant human-readable description
  • Real-time cron expression generation
  • Copy cron expression and description
  • Reverse parser (paste cron → update UI)
  • Common cron presets library
  • Cron validation system
  • Syntax highlighting
  • Mobile responsive design
  • Nothing to install

Common Cron Examples

*/5 * * * * - Every 5 minutes
0 */2 * * * - Every 2 hours
0 9 * * 1-5 - Every weekday at 9 AM
0 0 1 * * - First day of every month at midnight
30 3 * * 0 - Every Sunday at 3:30 AM

Cron Field Format

Cron expressions follow the format: minute hour day-of-month month day-of-week

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)

Special Characters

  • * - Matches any value (wildcard)
  • , - Separates multiple values (e.g., 1,3,5)
  • - - Defines ranges (e.g., 1-5 for Monday to Friday)
  • / - Defines step values (e.g., */5 for every 5 units)

💡 Pro Tip

Always test your cron expressions in a development environment before deploying to production. Use this tool to validate syntax and understand exactly when your jobs will run.

How to Use the Cron Expression Generator

  1. 1Start from a preset or the builder: Pick a preset such as Every 15 minutes or Weekdays at 9 AM, or choose the minute, hour, day of month, month and day of week in the dropdowns.
  2. 2Or paste an expression: Paste an existing five-field expression, such as 0 9 * * 1-5, to check it and edit it in the builder.
  3. 3Read the schedule: The tool validates every field and shows the schedule in plain English, for example At 09:00 on weekdays.
  4. 4Copy it: Copy the expression or its description, or download both, and paste the expression into crontab, a Kubernetes CronJob or your CI scheduler.

Frequently Asked Questions

What do the five fields of a cron expression mean?

From left to right: minute (0–59), hour (0–23), day of month (1–31), month (1–12 or JAN–DEC) and day of week (0–7 or SUN–SAT, where both 0 and 7 are Sunday). For example 30 2 * * 1 runs at 02:30 every Monday.

What do *, comma, hyphen and slash mean?

* matches every value. A comma lists values (1,15), a hyphen gives a range (1-5 = Monday to Friday) and a slash gives a step (*/15 = every 15 units, 10-50/10 = 10, 20, 30, 40 and 50).

How do I run a job every 5 minutes?

Use */5 * * * *. It runs at minutes 0, 5, 10 … 55 of every hour. For every 5 minutes during working hours only, use */5 9-17 * * 1-5.

What happens if I set both day of month and day of week?

Standard cron runs the job when either field matches, not both. 0 0 1 * 1 runs at midnight on the 1st of every month and also every Monday. To run only on a Monday that is the 1st, check the date inside the script.

Which time zone does cron use?

The time zone of the server or service running it. Linux crontab uses the system time zone, while GitHub Actions and many cloud schedulers use UTC unless you set a time zone, so convert your local time or daylight saving changes may shift the run.

Does this work with Quartz, Spring or AWS cron?

It uses the standard five-field Unix format used by crontab, Kubernetes CronJobs and GitHub Actions. Quartz and Spring add a seconds field at the start, and AWS EventBridge adds a year field and requires ? in one of the day fields, so adapt the expression for those.