PatternCron

Every weekday at 9:00

The classic working-hours schedule: 09:00 Monday to Friday, weekends silent — and how the five cron fields produce it.

Last updated

Pattern
0 9 * * 1-5
Open in Crontab Schedule Creator

In plain English

  • Fires Monday–Friday at 09:00
  • Silent on Saturday and Sunday

Why it’s written this way

Reading the five fields left to right: minute 0, hour 9, any day of the month, any month, days-of-week 1 through 5. Cron numbers weekdays with Monday as 1 through Saturday as 6 — and both 0 and 7 mean Sunday.

Restricting the day-of-week field while leaving day-of-month as * is the standard way to schedule by weekday; the * fields simply impose no constraint.

Edge cases to know

  • Cron runs in the server's timezone. A 9:00 job on a UTC server fires at 14:30 in Mumbai — decide which clock you mean before shipping it.
  • If BOTH day-of-month and day-of-week are restricted, classic cron fires when EITHER matches (OR, not AND) — the most surprising rule in cron.
  • No catch-up: if the machine is off at 9:00, that run is skipped, not queued.

Related in Patterns