Cron Expression Generator

Get your cron schedule right before it goes live on a server.

Times shown in IST. Servers usually run cron in UTC, so subtract 5:30 when setting cron on a UTC server.

Cron format

A standard cron expression has five fields: minute (0–59), hour (0–23), day of month (1–31), month (1–12) and day of week (0–6, Sunday = 0).

  • * means every value.
  • */5 means every 5th value.
  • 1-5 is a range (Monday to Friday in the weekday field).
  • 1,15 is a list.

When both day of month and day of week are set, most cron systems run the job when either matches. Descriptions are generated with the cronstrue library (MIT licence).

Frequently asked questions

Why are the times in IST?

Most users here are in India. Servers often use UTC, which is 5 hours 30 minutes behind IST, so convert before deploying.

Does it support seconds or years?

No, only the standard 5-field format used by Linux crontab, GitHub Actions and most schedulers.

How do I run a job every weekday at 9:30 AM?

Use 30 9 * * 1-5.

More text and developer tools

See all text and developer tools →