Cron Every Hour During Business Hours

Schedule a cron job every hour during business hours (9 AM-5 PM, Mon-Fri) with 0 9-17 * * 1-5. Full field breakdown and practical examples.

Cron Expression

0 9-17 * * 1-5

Field Breakdown

FieldValueMeaning
Minute0At 0
Hour9-17From 9 to 17
Day of Month*Every day of the month (1–31)
Month*Every month (1–12)
Day of Week1-5From Monday to Friday

Detailed Explanation

The cron expression 0 9-17 * * 1-5 schedules a task to run once per hour during business hours on weekdays only.

Field-by-field breakdown:

  • 0 (Minute): At minute 0. The task fires at the top of each qualifying hour.
  • 9-17 (Hour): From hour 9 (9 AM) through hour 17 (5 PM). The range restricts execution to standard business hours, giving 9 execution points per day.
  • * (Day of Month): Every day from 1 through 31. No restriction on the day of the month.
  • * (Month): Every month from January through December. No restriction on the month.
  • 1-5 (Day of Week): Monday through Friday. The range covers all five business days, excluding weekends.

This means your task will execute 9 times per weekday (at 9 AM, 10 AM, 11 AM, noon, 1 PM, 2 PM, 3 PM, 4 PM, and 5 PM), totaling 45 executions per work week. This schedule is ideal for hourly tasks that are only relevant during the business day. It avoids wasting resources on off-hours execution and keeps activity aligned with when your team is actively working and monitoring systems. This expression is supported by standard cron on Linux/macOS, as well as cloud services like AWS CloudWatch, Google Cloud Scheduler, and GitHub Actions.

Use Case

Ideal for hourly syncing of CRM contact data with your email marketing platform during business hours to keep campaigns targeting current leads.

Try It — Interactive Builder

Every hour from 9:00 AM to 5:00 PM on weekdays

**/5*/10*/15*/300
**/2*/3*/6*/120
*1151,15*/2
*11,4,7,101,7
*1-50,615

Next 10 Executions

1.Mon, Mar 16, 2026, 03:00 PM
2.Mon, Mar 16, 2026, 04:00 PM
3.Mon, Mar 16, 2026, 05:00 PM
4.Tue, Mar 17, 2026, 09:00 AM
5.Tue, Mar 17, 2026, 10:00 AM
6.Tue, Mar 17, 2026, 11:00 AM
7.Tue, Mar 17, 2026, 12:00 PM
8.Tue, Mar 17, 2026, 01:00 PM
9.Tue, Mar 17, 2026, 02:00 PM
10.Tue, Mar 17, 2026, 03:00 PM

Ctrl+Shift+C to copy expression

Customize this expression