Every Sunday Cron Expression
Runs every Sunday at midnight.
Expression
0 0 * * 0Try it in the tester →Field Breakdown
0
minute
0
hour
*
day-of-month
*
month
0
day-of-week
minuteat minute 0
hourat midnight
day-of-monthevery day (1–31)
monthevery month (1–12)
day-of-weekat Sunday
How It Works
Day-of-week pinned to 0 (Sunday). Note: most cron daemons also accept `7` as Sunday for compatibility.
Example Run Times
- Sun 00:00:00
- Sun 00:00:00 (+7d)
- Sun 00:00:00 (+14d)
- Sun 00:00:00 (+21d)
- Sun 00:00:00 (+28d)
Frequently Asked Questions
Is `0 0 * * 7` equivalent?
On Vixie cron and most POSIX clones yes — both 0 and 7 mean Sunday. Quartz uses 1=Sun, so the equivalent in Quartz is `0 0 0 ? * 1`.