OpsPane

0 9 * * 1-5 runs a cron job at 09:00 Monday through Friday. Get it for Quartz, AWS, GitHub Actions, Kubernetes and systemd, and skip weekends safely.

crontab expression

0 9 * * 1-5

In plain English

At 09:00 on Monday through Friday.

261 runs a year (counted over 2026, UTC)

1-5 in the day-of-week field is Monday through Friday, and 0 9 is minute 0 of hour 9, so the job runs at 09:00 on each working day and never on Saturday or Sunday. Public holidays are not skipped: cron has no holiday calendar.

Field by field

Minute01/60

:00

Hour91/24

09:00

Day of month*31/31

Every day of the month

Month*12/12

Every month

Day of week1-55/7

Monday through Friday

Day matchAND

Day of week decides; day of month is *.

The same schedule on every platform

Each expression below is the same schedule written for that platform, checked run by run against the crontab version.

PlatformExpressionOpen in tool
crontab0 9 * * 1-5Open in the crontab tool
Quartz0 0 9 ? * MON-FRIOpen in the Quartz tool
AWS EventBridgecron(0 9 ? * MON-FRI *)Open in the AWS EventBridge tool
GitHub Actions0 9 * * 1-5Open in the GitHub Actions tool
Kubernetes0 9 * * 1-5Open in the Kubernetes tool
systemdMon..Fri *-*-* 09:00:00Open in the systemd tool

Variations

ExpressionRunsOpen in explainer
30 8 * * 1-5At 08:30 on Monday through Friday.Open 30 8 * * 1-5 in the explainer
0 9 * * MON-FRIAt 09:00 on Monday through Friday.Open 0 9 * * MON-FRI in the explainer
0 9,17 * * 1-5At 09:00 and 17:00 on Monday through Friday.Open 0 9,17 * * 1-5 in the explainer
*/15 9-17 * * 1-5Every 15 minutes, from 09:00 through 17:59 on Monday through Friday.Open */15 9-17 * * 1-5 in the explainer
0 9 * * 6,0At 09:00 on Saturday and Sunday.Open 0 9 * * 6,0 in the explainer

Watch out for

Quartz and AWS count the days differently

In Quartz and AWS EventBridge day 1 is Sunday, so 1-5 there means Sunday through Thursday. Use names: Quartz 0 0 9 ? * MON-FRI, AWS cron(0 9 ? * MON-FRI *).

09:00 in which time zone?

GitHub Actions and AWS EventBridge cron run in UTC, so 09:00 there is 10:00 in Berlin in winter and 11:00 in summer. On Kubernetes set spec.timeZone, for example Europe/Berlin, to keep 09:00 local all year.

Holidays still run

Cron only knows days of the week. To skip public holidays, check a holiday list at the start of the script and exit early, or use a scheduler with a calendar.

FAQ

What is the cron expression for every weekday at 9 AM?

0 9 * * 1-5. It runs at 09:00 Monday through Friday.

Is 1-5 Monday to Friday in every cron?

In crontab, GitHub Actions and Kubernetes, yes: 0 is Sunday and 1 is Monday. In Quartz and AWS EventBridge 1 is Sunday, so write MON-FRI there instead.

How do I run at 9 AM and 5 PM on weekdays?

Use 0 9,17 * * 1-5. The hour list gives two runs on each working day.

How do I run on weekends only?

Use 0 9 * * 6,0 for 09:00 on Saturday and Sunday. 0,6 and SAT,SUN mean the same.