DD
DevDash

Cron Expression: Every 30 minutes between 9 AM and 5 PM on weekdays

Cron Expression

*/30 9-17 * * 1-5

Every 30 minutes between 9 AM and 5 PM on weekdays

Click the expression to select it, then copy.

Quick Answer

The cron expression for "every 30 minutes between 9 am and 5 pm on weekdays" is `*/30 9-17 * * 1-5`. Copy and paste this into your crontab, Vercel cron config, GitHub Actions workflow, or any standard cron-compatible scheduler.

Field-by-Field Breakdown

FieldValueMeaning
Minute*/30Every 30 minute
Hour9-17Between hour range: 9-17
Day of Month*Every day of month
Month*Every month
Day of Week1-5Between day of week range: 1-5

Common Use Cases

  • Business-hours reports
  • Office-hours metrics

How to Use This Expression

Vercel Cron Jobs

// vercel.json
{
  "crons": [{
    "path": "/api/your-endpoint",
    "schedule": "*/30 9-17 * * 1-5"
  }]
}

GitHub Actions

# .github/workflows/scheduled.yml
on:
  schedule:
    - cron: '*/30 9-17 * * 1-5'

Linux crontab

*/30 9-17 * * 1-5 /path/to/your-command.sh

Frequently Asked Questions

Related Cron Expressions

Want API access + no ads? Pro coming soon.