All Cron Schedules

Cron Weekdays at Midnight

Run a cron job Monday through Friday at midnight:

0 0 * * 1-5

Understanding the Expression

The cron expression 0 0 * * 1-5 breaks down as follows:

Field Value Meaning
Minute0At minute 0
Hour0At midnight (00:00)
Day of month*Every day of the month
Month*Every month
Day of week1-5Monday through Friday

Example Usage

Basic crontab entry

0 0 * * 1-5 /path/to/your/script.sh

With output logging

0 0 * * 1-5 /path/to/script.sh >> /var/log/script.log 2>&1

With monitoring

0 0 * * 1-5 /path/to/script.sh && curl -fsS https://cronsignal.io/ping/YOUR_CHECK_ID

Common Use Cases for Weekdays at Midnight

  • Business hour jobs: Run tasks during working hours only
  • Off-peak processing: Heavy tasks during low-traffic periods
  • Scheduled notifications: Send alerts during appropriate hours
  • Workday automation: Automate business processes on weekdays

Monitor this schedule

Get alerted when your cron job doesn't run.

Start Monitoring Free

3 checks free. No credit card required.