Cron Every Monday
Schedule a cron job to run every Monday at midnight with 0 0 * * 1. Complete field-by-field breakdown, weekly scheduling tips, and examples.
Cron Expression
0 0 * * 1
Field Breakdown
| Field | Value | Meaning |
|---|---|---|
| Minute | 0 | At 0 |
| Hour | 0 | At 0 |
| Day of Month | * | Every day of the month (1–31) |
| Month | * | Every month (1–12) |
| Day of Week | 1 | At Monday |
Detailed Explanation
The cron expression 0 0 * * 1 schedules a task to run once per week, every Monday 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 Monday.*(Day of Month): Every day from 1 through 31. No restriction on the day of the month, but the day-of-week field takes precedence.*(Month): Every month from January through December. No restriction on the month.1(Day of Week): Monday only. In standard cron, 0 is Sunday and 6 is Saturday, so 1 represents Monday.
This means your task will execute once per week at the start of Monday. Weekly Monday jobs are commonly used for beginning-of-week tasks like generating weekly reports, resetting counters, or kicking off sprint automation. When both day-of-month and day-of-week are specified with non-wildcard values, cron matches on either condition, but here only day-of-week is restricted. 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
Ideal for sending a weekly team performance summary email at the start of each work week to help managers plan priorities.
Try It — Interactive Builder
Every Monday at 12:00 AM
Next 10 Executions
Ctrl+Shift+C to copy expression