Tech News, Tech & Coding · Free Online Tools

IT Question Answer
Tools
Developer & Text ToolsFree100% Client-Side

Cron Expression Generator

Build and explain 5-field cron expressions in plain English and preview the next run times.

100% privateRuns instantly in-browserUpdated regularly

Advertisement

Runs in your browser

Your input is processed on your device and is not uploaded to our servers.

Fast

No queues and no upload wait, so results appear as soon as you act.

Clean and simple

Dark mode, no popups, and no signup.

What you get

  • Edit each of the five fields
  • Plain-English explanation
  • Next 8 run times in your local time
  • Ready-made presets
  • Supports lists, ranges, steps and names

What a cron expression is

Cron is the standard way to schedule repeating jobs on Linux and in many tools, such as CI systems, Kubernetes CronJobs and cloud schedulers. A schedule is written as five fields separated by spaces. Reading one is hard until you practise, so this tool explains it in plain English and shows when the job will next run.

The five fields

Each field uses the same few symbols:

  • * means every value.
  • A comma lists values: 1,15,30.
  • A dash is a range: 9-17.
  • A slash is a step: */15 means every 15.
*  *  *  *  *
|  |  |  |  |
|  |  |  |  +-- day of week   (0-7, Sunday is 0 or 7, or SUN-SAT)
|  |  |  +----- month         (1-12, or JAN-DEC)
|  |  +-------- day of month  (1-31)
|  +----------- hour          (0-23)
+-------------- minute        (0-59)

How to use the tool

  • Type a full expression, or edit the five fields one by one.
  • Use a preset such as Daily at 09:30 or Weekdays at 08:00 as a starting point.
  • Read the plain-English description and check the list of the next 8 run times.
  • Copy the expression into your crontab or scheduler.

Examples

Common schedules:

*/5 * * * *        every 5 minutes
0 * * * *          at minute 0 of every hour
30 9 * * *         every day at 09:30
0 8 * * 1-5        weekdays at 08:00
0 3 * * 0          Sundays at 03:00
0 0 1 * *          first day of every month at midnight

Things that trip people up

  • Cron uses the time zone of the server or scheduler, not yours. The preview here shows your local time, so confirm the zone in production.
  • If you set both day of month and day of week, the job runs when either matches, as in classic cron.
  • Some systems add a seconds field or a year field, or support extra symbols. This tool covers the standard five fields.
  • A job that runs every minute can overlap with itself if it takes longer than a minute. Add a lock or a longer interval.

Related tools

Advertisement

Frequently asked questions

Five: minute, hour, day of month, month and day of week. Some systems add seconds or a year.

Every 15 units of that field. In the minute field it means 0, 15, 30 and 45.

In standard cron the job runs when either of them matches.

The time zone of the machine or service that runs it. Check your scheduler settings.

Yes, for example JAN to DEC and SUN to SAT.