Work Hours Half Hourly
Cron Expression: */30 9-17 * * 1-5
Every 30 mins during work hours using the cron expression shown above. This page helps you understand how to schedule tasks work hours half hourly.
How This Cron Expression Works
The cron expression */30 9-17 * * 1-5
breaks down as follows:
Minute
Hour
Day of Month
Month
Day of Week
*/30
9-17
*
*
1-5
Explanation:
- Runs every 30 minutes
- Runs between 9:00 and 17:00
- Runs only on Monday through Friday
Interactive Cron Builder
Use the interactive tool below to modify this cron expression and see how changes affect the schedule:
""
minute
(0-59)
hour
(0-23)
day
(1-31)
month
(1-12)
weekday
(0-6)
* | every value |
---|---|
, | list of values |
- | range of values |
/ | interval values |
@yearly | Once a year (0 0 1 1 *) |
@annually | Same as @yearly |
@monthly | Once a month (0 0 1 * *) |
@weekly | Once a week (0 0 * * 0) |
@daily | Once a day (0 0 * * *) |
@hourly | Once an hour (0 * * * *) |
@reboot | At system startup |
Common Use Cases
This cron expression is commonly used for:
- Regular system maintenance tasks
- Scheduled data processing
- Periodic backups or exports
- Recurring notifications or reports
- Automated testing or monitoring