Cron Expression Generator
Build Linux cron expressions with a visual editor and preview the next run times.
Every 15 minutes, between 09:00 and 17:59, Monday through Friday
Fields
| Minute | */15 | 0, 15, 30, 45 |
|---|---|---|
| Hour | 9-17 | 9, 10, 11, 12, 13, 14, 15, 16, 17 |
| Day of month | * | any |
| Month | * | every value |
| Day of week | 1-5 | MON, TUE, WED, THU, FRI |
Build a schedule
Next runs
How to use the Cron Expression Generator
- Type a cron expression, pick a preset, or use Build a schedule.
- Read the plain-English description to confirm it means what you intend.
- Check the next run times in your server's time zone before deploying.
Cron syntax
A Linux crontab line has five fields: minute hour day-of-month month day-of-week, followed by the command.
*every value,5a single value,1-5a range,1,15a list*/15every 15th value,9-17/2every 2nd value between 9 and 17- Names are allowed for months (
JAN–DEC) and weekdays (SUN–SAT); Sunday is0or7 - Shortcuts:
@hourly,@daily,@weekly,@monthly,@yearly
The day-of-month and day-of-week trap
If you set both day fields, cron runs when either matches. 0 9 1 * 1 runs on the 1st of every month and on every Monday, not only on Mondays that fall on the 1st. This tool calculates runs the way cron actually does and warns you when this applies.
Frequently asked questions
Which time zone does cron use?
The server's system time zone, unless your cron implementation supports CRON_TZ. Pick that zone under Next runs to see exact times. Around daylight saving changes, times that don't exist are skipped.
Does this work for Kubernetes CronJobs and GitHub Actions?
Yes. Both use the same five-field syntax. GitHub Actions schedules always run in UTC; Kubernetes CronJobs use the controller's time zone unless you set spec.timeZone.
What about expressions with seconds?
Six-field expressions with a seconds field are used by Spring and Quartz. Use the Spring Cron Generator for those.
Related tools
All tools- Spring Cron GeneratorBuild and explain Spring @Scheduled cron expressions and preview the next executions.
- Unix Timestamp ConverterConvert Unix timestamps in seconds, milliseconds or nanoseconds to ISO 8601 and any time zone, and back.
- Regex TesterTest regular expressions with live match highlighting, capture groups, flags and explanations.
- Diff CheckerCompare two texts side by side or as a unified diff, with added, removed and changed lines.
- SQL FormatterFormat and minify SQL for PostgreSQL, MySQL, SQL Server and generic SQL. Queries are never executed.