←
Developer

Cron Expression Generator

Loading the tool…

Ready when you are.Runs in this browser · nothing is uploaded

Build cron schedules without memorizing

  • Free
  • No sign-up
  • No upload
  • Works offline

Tool facts

Price
Free, no sign-up, no watermark
Are files uploaded?
No. Everything is processed in this browser, on your device.
Offline use
Works without a connection once this page has loaded
Built with
cronstrue
Browser
A recent Chrome, Edge, Firefox or Safari, on computer or phone.

Check it yourself: press F12, open the Network tab, then use the tool. No request carries your data.

About Cron Expression Generator

Cron Expression Generator builds a cron schedule for you, one field at a time. For the minute, hour, day of month, month and day of week you choose Every, Every N (for example every 15 minutes starting at :05), Specific values from a grid of clickable buttons, or a Range such as Monday to Friday. The expression updates as you click, a plain-language description tells you what it means, and the next 10 run times in your local time zone show exactly when the job will fire.

It writes classic 5-field crontab syntax used by Linux cron, Kubernetes CronJobs and GitHub Actions, a 6-field form with seconds first for Spring and node-cron, and Quartz syntax with ? in the unused day field and weekday names such as MON-FRI, so the numbering difference between Unix (Sunday = 0) and Quartz (Sunday = 1) cannot catch you out. You can also paste an existing expression, including macros like @daily, to load it into the builder and edit it. Everything runs in your browser.

Cron Expression Generator runs entirely in your browser. Your data is processed on your device and is never uploaded to Qiyi or anyone else.

How to use Cron Expression Generator

  1. Choose the Cron format (Unix 5 fields, With seconds or Quartz), or start from one of the Presets.
  2. Pick a field in the Builder (Minute, Hour, Day of month, Month, Day of week) and set it to Every, Every N, Specific or Range.
  3. Optionally enter a time under Run at and click Apply to set the hour and minute in one step.
  4. Check the description and the Next runs list, then click Copy to take the expression. You can also paste an expression into the box to edit it.

Frequently asked questions

What is the difference between Unix cron and Quartz cron?

Unix cron has 5 fields (minute, hour, day of month, month, day of week) and numbers weekdays 0–6 from Sunday. Quartz, used by Java schedulers, adds a seconds field at the start, requires ? in either the day-of-month or the day-of-week field, and numbers weekdays 1–7 from Sunday. In Quartz mode this generator writes weekday names (MON, TUE…) so the result is unambiguous.

How do I run a job every 5 minutes?

Use */5 * * * *. In the builder choose Minute, then Every N with an interval of 5. To start at a different minute, set Starting at, for example 2/5 runs at :02, :07, :12 and so on. Steps restart every hour, so an interval that does not divide 60 evenly gives an uneven gap at the full hour.

Why does my job run on more days than I expected?

When both day of month and day of week are restricted, standard cron runs the job when either one matches. 0 9 1 * 1 runs on the 1st of each month and on every Monday. The generator shows a note when this happens; leave one of the two fields on Every to restrict by the other alone.

Which time zone are the next run times in?

Your browser's local time zone, shown above the list. Servers often run cron in UTC, and GitHub Actions schedules are always UTC, so convert your intended time before copying the expression. During daylight saving changes some schedulers skip or repeat a run.

Can it read L, W and # expressions?

Yes, they are loaded and kept as a custom value in the day fields, and the description explains them, but the next-run list is only calculated for plain numbers, ranges, lists and steps. Use the Cron Expression Parser tool to see next runs for expressions with L, W or #.

· Free · Runs in this browser · nothing is uploaded

Drop any file here
Drop it to see which tools can open it