Free · No sign-up · Runs in your browser

Cron Expression Generator and Explainer

Build a cron schedule or paste an existing one to see what it means in plain English, check every field and preview the next run times in your own time zone.

At 09:00, on weekdays (Monday through Friday).

Common schedules

Build it field by field

minute 0
09:00
every day
every month
Monday through Friday

Next 10 runs

In your time zone

Calculating...

Cron syntax explained

A standard cron expression has five fields separated by spaces. Read it from left to right: minute, hour, day of month, month and day of week. A job runs whenever the current time matches every field.

FieldAllowed valuesExample
Minute0 to 5930 means half past the hour
Hour0 to 2314 means 2 PM
Day of month1 to 311 means the first day of the month
Month1 to 12 or JAN to DEC6 or JUN means June
Day of week0 to 6 or SUN to SAT (7 is also Sunday)1-5 means Monday to Friday

Special characters

CharacterMeaningExample
*Every value* in the hour field runs every hour
,A list of values1,15 runs on the 1st and 15th
-A range of values9-17 means 9 AM through 5 PM
/A step*/10 in minutes runs every 10 minutes

Shortcuts such as @daily, @weekly, @monthly and @hourly also work in the tool above.

Common cron expression examples

Select any example to load it into the generator and see its next run times.

ExpressionMeaning
* * * * *Every minute.
*/5 * * * *Every 5 minutes.
*/30 * * * *Every 30 minutes.
0 * * * *Every hour, on the hour.
0 */6 * * *Every 6 hours, on the hour.
0 0 * * *At 00:00, every day.
30 2 * * *At 02:30, every day.
0 9 * * 1-5At 09:00, on weekdays (Monday through Friday).
0 9,17 * * 1-5At 09:00 and 17:00, on weekdays (Monday through Friday).
*/15 9-17 * * 1-5Every 15 minutes, between 09:00 and 17:59, on weekdays (Monday through Friday).
0 8 * * 1At 08:00, on Monday.
0 0 * * 0At 00:00, on Sunday.
0 0 1 * *At 00:00, on day 1 of the month.
0 12 1,15 * *At 12:00, on days 1 and 15 of the month.
0 0 1 1 *At 00:00, on day 1 of the month, in January.

Common cron mistakes

  • Forgetting the time zone. Servers and cloud schedulers often run in UTC, so a job set for 09:00 may run at a different local time.
  • Setting both day fields. When day of month and day of week are both set, the job runs when either matches, not only when both do.
  • Using * in the minute field by accident. * 9 * * * runs 60 times between 09:00 and 09:59, not once.
  • Adding a seconds field. Some tools use six fields, but standard cron uses five.

Where cron schedules are used

Cron drives scheduled reports, data syncs, backups, price and stock monitoring, cleanup jobs and CI/CD pipelines. Reliable scheduled jobs also need logging, retries and alerts, which I cover in the monitoring and observability blueprint. If you want scheduled workflows built and maintained for you, see my business process automation services.

Frequently asked questions

What is a cron expression?

A cron expression is a short schedule made of five fields: minute, hour, day of month, month and day of week. Schedulers such as cron on Linux, GitHub Actions and many cloud services use it to decide when a job runs.

What does * mean in cron?

An asterisk means every value of that field. For example, * in the hour field means every hour, and * * * * * runs every minute.

How do I run a cron job every 5 minutes?

Use */5 * * * *. The */5 in the minute field means every fifth minute, starting at minute 0.

What happens when both day of month and day of week are set?

In standard cron the job runs when either field matches. For example, 0 0 13 * 5 runs on the 13th of every month and on every Friday, not only on Friday the 13th.

Which time zone does a cron job use?

Cron uses the time zone of the server or service that runs it, which is often UTC. This tool shows the next run times in your own time zone, so convert if your server runs in UTC.

Want this built for you?

I build custom automations, AI features and production backends. Describe your project on Upwork and get a clear plan, timeline and cost within 2 hours.

Hire Me on Upwork