Every Sunday Cron Expression

Runs every Sunday at midnight.

Expression

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`.

This Schedule in Other Flavors

Free cron syntax cheat sheet

© 2026 Abel Solutions LLC. All rights reserved. · More from Abel Solutions: RegexPro — test and debug regular expressions