Cron Every Monday, Wednesday, and Friday

Schedule a cron job on Monday, Wednesday, and Friday at midnight with 0 0 * * 1,3,5. Field breakdown and alternate-day scheduling examples.

Cron Expression

0 0 * * 1,3,5

Field Breakdown

FieldValueMeaning
Minute0At 0
Hour0At 0
Day of Month*Every day of the month (1–31)
Month*Every month (1–12)
Day of Week1,3,5At Monday, Wednesday, Friday

Detailed Explanation

The cron expression 0 0 * * 1,3,5 schedules a task to run three times per week, on Monday, Wednesday, and Friday at midnight.

Field-by-field breakdown:

  • 0 (Minute): At minute 0. The task fires at the start of the hour.
  • 0 (Hour): At hour 0 (midnight). The task runs at the beginning of each specified day.
  • * (Day of Month): Every day from 1 through 31. No restriction on the day of the month.
  • * (Month): Every month from January through December. No restriction on the month.
  • 1,3,5 (Day of Week): Monday (1), Wednesday (3), and Friday (5). The comma-separated list selects these three specific days.

This means your task will execute 3 times per week on alternating weekdays. This schedule provides good coverage throughout the work week with roughly two-day gaps between each run. It is a common pattern for tasks that need more frequent execution than weekly but less than daily, such as triweekly data syncs, compliance checks, or rotating backup schedules. This expression is supported by standard cron on Linux/macOS, as well as cloud services like AWS CloudWatch, Google Cloud Scheduler, and GitHub Actions.

Use Case

Great for running automated code quality scans on your main branch three times a week to catch issues early without overloading CI resources.

Try It — Interactive Builder

Every Monday, Wednesday, Friday at 12:00 AM

**/5*/10*/15*/300
**/2*/3*/6*/120
*1151,15*/2
*11,4,7,101,7
*1-50,615

Next 10 Executions

1.Fri, Mar 20, 2026, 12:00 AM
2.Mon, Mar 23, 2026, 12:00 AM
3.Wed, Mar 25, 2026, 12:00 AM
4.Fri, Mar 27, 2026, 12:00 AM
5.Mon, Mar 30, 2026, 12:00 AM
6.Wed, Apr 1, 2026, 12:00 AM
7.Fri, Apr 3, 2026, 12:00 AM
8.Mon, Apr 6, 2026, 12:00 AM
9.Wed, Apr 8, 2026, 12:00 AM
10.Fri, Apr 10, 2026, 12:00 AM

Ctrl+Shift+C to copy expression

Customize this expression