Skip to content
Unix cron100% Client-Side

Cron Expression for Weekdays at 9 AM

0 9 * * 1-5At 09:00 AM, Monday through Friday

The Unix cron expression "0 9 * * 1-5" runs a task weekdays at 9 am. Preview the next run times in your timezone, read the plain-English translation, and copy ready-to-paste snippets for crontab, Node.js, GitHub Actions, and AWS EventBridge.

Live playground

  • Min0
  • Hour9
  • DOM*
  • Month*
  • DOW1-5

At 09:00 AM, Monday through Friday

Unix cron · evaluated in UTC

24-hour view

Hover a highlighted hour for precise timestamps. Showing the next 50 executions.

Upcoming runs

Timezone

Runs are simulated in the selected IANA timezone. Auto-detected from your browser on first load.

Field breakdown

How each field of 0 9 * * 1-5 is interpreted in the Unix cron format.

Field breakdown of 0 9 * * 1-5
FieldValueAllowedStatus
Minute00-59Valid
Hour90-23Valid
Day of Month*1-31Valid
Month*1-12 or JAN-DECValid
Day of Week1-50-7 or SUN-SAT (0 and 7 = SUN)Valid

Use “0 9 * * 1-5” in real code

Copy-paste configurations for the most common schedulers, converted to each platform’s dialect where needed.

import cron from 'node-cron';

cron.schedule('0 9 * * 1-5', () => {
  console.log('Running task...');
});

Running “0 9 * * 1-5” in production

Weekday-only 9 AM: the business-day trigger

0 9 * * 1-5 fires Monday through Friday at 9 AM — the schedule for standup and digest bots, daily report delivery, workday-morning cache pre-warms, and every internal tool that should stay quiet on weekends. The day-of-week field is where this one earns its FAQ entries: cron counts Sunday as 0 (or 7) through Saturday as 6, so 1-5 is Monday–Friday, and mixing 0-based and 1-based thinking is how a 'weekday' job ends up firing Sunday. The simulator above shows a full week of fire times, which settles the off-by-one instantly.

The subtlety that bites weekday jobs is holidays: cron has no calendar awareness, so the standup bot posts through every public holiday and the report lands in empty inboxes on December 26. The standard design keeps the schedule dumb and gives the job the policy — check a holiday calendar (a table, a library, an API) on wake and exit early on excluded days. That keeps the cron line declarative and the exception logic versioned in code where it belongs, instead of editing crontabs every quarter.

Weekday schedules beyond the crontab

The platforms that wrap cron tend to inherit both its power and its day-numbering. Kubernetes takes "0 9 * * 1-5" verbatim — with timeZone available since 1.27 to pin the 9 AM to a real zone rather than the controller's clock. AWS EventBridge spells weekdays as cron(0 9 ? * MON-FRI *) in its 6-field dialect (there is a dedicated EventBridge weekdays recipe in this directory). Celery beat writes crontab(hour=9, minute=0, day_of_week='1-5') — accepting either numbers or names, where 'mon-fri' is the self-documenting form.

Windows Task Scheduler, the platform that runs much of the corporate world, expresses this as a weekly trigger with Monday–Friday checkboxes rather than an expression — the same schedule in a different grammar. And for teams whose real requirement is 'every workday at 9 in each office's timezone,' the scalable answer is one schedule per zone or an hourly job with zone logic inside; a single cron line cannot mean nine different nines. The expression here is the starting point; the architecture decides how far it scales.

Frequently asked questions

What does the cron expression "0 9 * * 1-5" mean?

"0 9 * * 1-5" is a Unix cron expression that means: At 09:00 AM, Monday through Friday. It contains 5 fields — Minute (0), Hour (9), Day of Month (*), Month (*), Day of Week (1-5) — and works in any scheduler that accepts the Unix cron format.

How does "0 9 * * 1-5" behave in UTC versus local time?

The classic cron daemon interprets every field in the machine's local timezone (from /etc/timezone or the TZ environment variable). If the server runs in UTC the schedule fires in UTC; otherwise shift the hours accordingly. Modern cronie also supports CRON_TZ to pin a single job to UTC.

What happens if the machine is offline when "0 9 * * 1-5" is due?

Classic cron does not catch up missed runs: if the server is down at the fire time, that execution is skipped until the next match. Guard the command with an idempotency check, or use anacron or a scheduler with missed-run handling when catch-up behavior matters.

Is Monday–Friday 1-5 or 0-4 in cron?

1-5. Cron's day-of-week field runs 0 (or 7) = Sunday, 1 = Monday, through 6 = Saturday, so 1-5 is Monday through Friday and 0,6 (or just 6, plus 0) covers the weekend. 0-4 would include Sunday. Names work too: MON-FRI is accepted by most modern cron implementations (cronie, Vixie derivatives, Quartz, EventBridge) and is immune to the off-by-one. The week-view in the simulator above shows exactly which days fire.

How do I stop a weekday cron job from running on public holidays?

Cron cannot — it has no calendar concept, only fields. The accepted pattern is a guard inside the job: on wake, check a holiday table (a config file, a library like the Python holidays package, or an internal API) and exit early on excluded dates. Keep the cron line honest (weekdays) and the policy in code, so holiday rules are reviewed and versioned like everything else. Some schedulers offer calendar-aware schedules (Quartz calendars, ECS... none natively) — but a job-side guard is portable everywhere.

About the “0 9 * * 1-5” schedule

0 9 * * 1-5 is the Unix cron way to say “At 09:00 AM, Monday through Friday”. The simulator above evaluates it entirely in your browser — the timeline, the next-run table, and the timezone switcher all run client-side, so you can paste production schedules without them ever leaving your machine.

Every page in this directory follows the same structure: a plain-English translation, a per-field breakdown, platform-specific snippets, and a timezone-aware simulator. Move between the related intervals below to compare dialects, and validate one final time in the simulator with your own timezone before shipping.

Adjacent intervals and the same schedules expressed for other platforms.