⏱️ Cron Expression Generator

Visually build and parse Cron job schedule expressions with real-time next execution preview

πŸ“ Quick Presets

πŸ”§ Custom Cron Expression

0 * * * *
Run at minute 0 of every hour

πŸ“… Next Execution Times

  1. Calculating...

πŸ“– Cron Syntax Reference

FieldRangeSpecial Chars
Minute0-59, - * /
Hour0-23, - * /
Day1-31, - * ? / L W
Month1-12, - * /
Weekday0-7, - * ? / L #
Special characters:
* Any   ? No specific   - Range   , List   / Step   L Last   W Weekday   # Nth weekday

❓ FAQ

What is a Cron expression?

A Cron expression is a time-based string used in Unix/Linux to schedule recurring tasks. It consists of 5 fields (minute hour day month weekday) and is widely used in Linux crontab, Kubernetes CronJob, Spring Boot @Scheduled, and more.

What's the difference between 0 0 * * * and @daily?

0 0 * * * is equivalent to @daily β€” both run at midnight every day. @daily is a shorthand available in some Cron implementations; the standard 5-field expression has better compatibility.

How to use Cron expressions in Kubernetes?

Use the generated expression in your CronJob's spec.schedule field. Kubernetes also supports 6-field format (with seconds) β€” prefix with 0, e.g. 0 0 0 * * *.

What's the difference between ? and *?

* matches any value, while ? means "no specific value" (only for day and weekday fields). When both day and weekday need matching, one must use ?.