Cron weekdays at 9 AM: the expression
0 9 * * 1-5
The 1-5 in the weekday field is a range: Monday through Friday. With minute 0 and hour 9, the job runs at 09:00 on the five working days of the week and skips Saturday and Sunday. It is the most common schedule for business-hours tasks.
This page opens the crontab generator with the expression loaded: it describes it in plain words, checks every field and lists the next runs in the time zone you choose. Read by the tool: "At 09:00, Monday through Friday".
Field by field
| Field | Allowed values | Here |
|---|---|---|
| minute | 0-59 | 0 |
| hour | 0-23 | 9 |
| day of month | 1-31 | * |
| month | 1-12 | * |
| day of week | 0-7 (0 and 7 = Sunday) | 1-5 |
Minute 0, hour 9, day *, month *, weekday 1-5 (Monday to Friday).
The next runs
Counted from Mon, Jan 5, 2026, 08:07:00 (UTC), the first five runs are:
- Mon, Jan 5, 2026, 09:00:00
- Tue, Jan 6, 2026, 09:00:00
- Wed, Jan 7, 2026, 09:00:00
- Thu, Jan 8, 2026, 09:00:00
- Fri, Jan 9, 2026, 09:00:00
In a crontab
crontab -e
0 9 * * 1-5 /usr/local/bin/open-support-queue.sh
crontab -l # lists what is installedThe same schedule in other systems
| System | Expression |
|---|---|
| Linux cron, Kubernetes CronJob, GitHub Actions (5 fields) | 0 9 * * 1-5 |
| Quartz and Spring (6 fields, with seconds) | 0 0 9 ? * MON-FRI |
| AWS EventBridge (6 fields, with year) | cron(0 9 ? * MON-FRI *) |
The tool reads the three forms and produces exactly the same runs for them; the page checks that while it is built. For different hours in the same job write a list in the hour field: 0 9,17 * * 1-5 is at 09:00 and 17:00 on weekdays. In the world holidays tool you can check which weekdays are public holidays for your country.
What it is used for
- A morning digest or dashboard email for a team that works Monday to Friday.
- Opening or closing a service window, such as enabling a support queue or a store feed.
- Business-day data loads: stock, exchange rates or bank files that are not published on weekends.
Common mistakes
- Assuming "weekday" means "business day": cron only knows days of the week. National and bank holidays still run the job. Check a holiday calendar in the script, or skip those dates there.
- Counting 1-5 from Sunday: in cron 1 is Monday. In Quartz and AWS EventBridge numbers start at Sunday = 1, so 1-5 would be Sunday to Thursday; use MON-FRI there.
How to use the generator
- The expression is already in the box; edit any field, or toggle values in the field editor.
- Choose the style (Linux, with seconds, Quartz or AWS) and the time zone, and see the next 5, 10 or 20 runs.
- Copy the expression into your crontab, your workflow file or your EventBridge rule.
Frequently asked questions
What is the cron expression for weekdays only?
Put 1-5 in the weekday field: 0 9 * * 1-5 runs at 09:00 from Monday to Friday. 1,2,3,4,5 is the same.
How do I skip public holidays?
Cron cannot. Run on every weekday and let the script exit when today is in a list of holidays, or have a scheduler such as Airflow or a calendar API decide.
How do I run at 9 AM in my own time zone?
Cron uses the server clock. Either set the server (or CRON_TZ in the crontab, where supported) to your zone, or convert 9:00 to the server's zone and write that hour. The tool shows the next runs in the zone you pick.