Cron Every 2 Hours on Weekdays

Schedule a cron job every 2 hours on weekdays using 0 */2 * * 1-5. Complete field-by-field breakdown for weekday-only periodic interval scheduling.

Cron Expression

0 */2 * * 1-5

Field Breakdown

FieldValueMeaning
Minute0At 0
Hour*/2Every 2nd hour
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 */2 * * 1-5 schedules a task to run every 2 hours on weekdays (Monday through Friday) only.

Field-by-field breakdown:

  • 0 (Minute): At minute 0. The task fires at the top of each qualifying hour.
  • */2 (Hour): Every 2nd hour, starting from hour 0. The step value /2 triggers at hours 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, and 22.
  • * (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 which month.
  • 1-5 (Day of Week): Monday through Friday. The range covers all five business days, excluding Saturday and Sunday.

This means your task will execute 12 times per weekday (every 2 hours around the clock), for a total of 60 executions per work week. Unlike business-hours-only schedules, this pattern runs throughout the entire 24-hour period on weekdays, providing continuous monitoring during the work week while giving systems a break on weekends. The 2-hour interval strikes a balance between frequent polling and resource conservation. This is suitable for tasks that need regular weekday updates but can pause on weekends. 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

Great for polling a third-party API for updated product catalog data every 2 hours on business days, keeping your e-commerce listings synchronized.

Try It — Interactive Builder

at min 0, every 2h, on DOW 1-5

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

Next 10 Executions

1.Thu, Mar 12, 2026, 10:00 PM
2.Fri, Mar 13, 2026, 12:00 AM
3.Fri, Mar 13, 2026, 02:00 AM
4.Fri, Mar 13, 2026, 04:00 AM
5.Fri, Mar 13, 2026, 06:00 AM
6.Fri, Mar 13, 2026, 08:00 AM
7.Fri, Mar 13, 2026, 10:00 AM
8.Fri, Mar 13, 2026, 12:00 PM
9.Fri, Mar 13, 2026, 02:00 PM
10.Fri, Mar 13, 2026, 04:00 PM

Ctrl+Shift+C to copy expression

Customize this expression