← Back to all configurations

Cron Expression for Every 2 Hours During Workday

Run a task every 2 hours from 8 AM to 6 PM on weekdays

Cron Expression

0 8-18/2 * * 1-5

Understanding this Expression

This cron expression consists of 5 fields that specify when your task will run:

Minutes
0
At the start of the hour
Hours
8-18/2
Every 2 hours from 8 to 18
Day of Month
*
Any value
Month
*
Any value
Day of Week
1-5
From Monday to Friday

Summary

This schedule will run your task run a task every 2 hours from 8 am to 6 pm on weekdays.