Cron Expression: Every Sunday (0 0 * * 0)
The expression 0 0 * * 0 runs at midnight, but only when the day-of-week field matches 0, which cron interprets as Sunday. The result is a weekly job that fires once every Sunday at 00:00.
Weekly Sunday runs are ideal for end-of-week reports, weekly digests, and maintenance that should happen during the quietest part of the week. The field breakdown and upcoming Sundays below are computed live in your browser.
0 0 * * 0At 00:00 on Sunday.
6/28/2026, 12:00:00 AM7/5/2026, 12:00:00 AM7/12/2026, 12:00:00 AM7/19/2026, 12:00:00 AM7/26/2026, 12:00:00 AM| Field | Value | Meaning |
|---|---|---|
Minute | 0 | at minute 0 |
Hour | 0 | at 00 (midnight) |
Day of month | * | any day of month |
Month | * | every month |
Day of week | 0 | Sunday |
0 0 * * 0→Runs every Sunday at 00:00.Both 0 and 7 mean Sunday in standard cron; this tool treats them the same.
Frequently asked questions
What day is 0 in a cron expression?
In the day-of-week field, 0 means Sunday. Standard cron also accepts 7 for Sunday, so 0 0 * * 0 and 0 0 * * 7 are equivalent.
How do I run a job weekly?
Pin the day-of-week field to a single day and set the hour and minute. 0 0 * * 0 runs every Sunday at midnight; change the last field to 1 for Monday, 5 for Friday, and so on.
Can I use SUN instead of 0?
Many cron implementations accept three-letter day names like SUN, MON, and so on. The full Cron Parser linked below understands those names as well as numbers.