gekro
GitHub LinkedIn
Dev · Free Tool

Cron Expression Builder

Write, validate, and understand cron expressions with next-run previews

*/5 0-30

9 8-17

1 15

1,6 */3

1-5 0,6

Expression

0 9 * * 1-5

Plain English

Presets:

Next 10 run times (local time)

© 2026 Rohit Burani · MIT · Built at gekro.com · View source ↗

Guide

How this works

Enter a 5-field cron expression. The builder immediately:

  1. Validates each field and highlights invalid syntax in red
  2. Describes the schedule in plain English
  3. Shows the next 10 run times relative to your local clock

Use the presets to start from a known schedule and modify from there.

Cron syntax reference

┌─ minute      (0–59)
│ ┌─ hour      (0–23)
│ │ ┌─ day     (1–31)
│ │ │ ┌─ month (1–12 or JAN–DEC)
│ │ │ │ ┌─ weekday (0–7, 0 and 7 = Sunday, or SUN–SAT)
│ │ │ │ │
* * * * *
SyntaxMeaning
*Every value
*/nEvery nth value
a-bRange from a to b
a,b,cSpecific values
a-b/nRange with step

Examples

ExpressionMeaning
* * * * *Every minute
0 * * * *Every hour (on the hour)
0 9 * * 1-59:00 AM Monday–Friday
30 8 1 * *8:30 AM on the 1st of every month
0 0 * * 0Midnight every Sunday
*/15 * * * *Every 15 minutes

Limitations

  • 5-field syntax only — does not support 6-field (with seconds) or 7-field (Quartz) variants.
  • No timezone support — next-run times are shown in your local browser timezone.
  • L, W, #, ? special characters — not supported (these are Quartz/Spring extensions).
  • Day-of-month and day-of-week interaction — when both fields are non-wildcard, this builder treats the schedule as “match either” (OR logic), consistent with most cron implementations.

Crontab Explainer

Paste any crontab expression in the builder above and it will parse it instantly. But here are more complex real-world expressions explained:

ExpressionWhat it meansUse case
0 2 * * 02:00 AM every SundayWeekly backup
*/15 9-17 * * 1-5Every 15 min, 9am–5pm, Mon–FriBusiness-hours polling
0 0 1,15 * *Midnight on 1st and 15th of each monthBi-monthly billing
30 23 * * 1-511:30 PM Mon–FriNightly report
@rebootOn system boot (not supported by this builder — standard cron only)Startup tasks
0 */6 * * *Every 6 hoursCache refresh

Debugging complex expressions

When an expression behaves unexpectedly:

  1. Check your timezone — system cron runs in the server’s timezone, not yours
  2. Test with next-run preview — the builder shows 10 upcoming fires; check if they match your mental model
  3. Day-of-month AND day-of-week — most implementations use OR logic when both fields are non-wildcard. 0 0 1 * 1 fires on the 1st of the month OR every Monday.
  4. Use presets as anchors — the 15 built-in presets cover the most common schedules; modify from there

Cloudflare Workers cron triggers

Cloudflare uses a slightly different format — 6 fields with seconds first. But you can test the 5-field logic here and convert:

# Standard cron (5 fields) → CF Workers (6 fields with second=0)
0 * * * *      → 0 0 * * * *
*/5 * * * *    → 0 */5 * * * *

For informational purposes only. Not financial, medical, or legal advice. You are solely responsible for how you use these tools.