Run a cron job every Sunday at midnight

At 00:00, on Sunday.

The standard weekly schedule (identical to @weekly): Sunday 00:00, once per week. Sunday-midnight is the traditional week boundary, making this the default slot for weekly aggregation and the deepest maintenance a system gets.

0 0 * * 0

Next 5 runs

Computing from your local clock…

Field by field

FieldValueMeaning
Minute0exactly 0
Hour0exactly 0
Day of month*every value
Month*every value
Day of week0exactly 0

Typical uses

  • Weekly full backups (with dailies as increments)
  • Rebuilding search indexes or materialized views from scratch
  • Weekly usage reports covering Monday–Sunday
Worth knowing: Both 0 and 7 mean Sunday in the day-of-week field; prefer 0 for portability to older cron implementations.

Related schedules

Need a different schedule? Build and test any cron expression with live explanation and next-run preview, or read the complete cron syntax guide.