⏱OpsTools

Cron Expression for Every Weekday

0 0 * * 1-5→Runs at midnight Monday through Friday
0
Minute
0–59
0
Hour
0–23
*
Day
1–31
*
Month
1–12
1-5
Weekday
0–7

Quick Examples

How It Works

The expression 0 0 * * 1-5 uses a range in the day-of-week field. 1-5 means Monday (1) through Friday (5), so the job runs at midnight on each business day but skips Saturday and Sunday. This is ideal for automations tied to the work week.

Common Use Cases

  • 1Business-day data imports from trading systems
  • 2Weekday standup reminder notifications
  • 3Deploying config changes only on work days

Linux Crontab Example

0 0 * * 1-5 /app/business-day-import.sh

Add this line to your crontab with crontab -e

Need a custom schedule?

Build your own cron expression visually with our generator.

Open Generator →