⏱OpsTools

Cron Expression for Every Sunday

0 0 * * 0→Runs at midnight every Sunday
0
Minute
0–59
0
Hour
0–23
*
Day
1–31
*
Month
1–12
0
Weekday
0–7

Quick Examples

How It Works

The expression 0 0 * * 0 sets day-of-week to 0 (Sunday). The job fires at midnight every Sunday. Note that both 0 and 7 represent Sunday in cron — either value works, but 0 is the most common convention.

Common Use Cases

  • 1Weekly full backup before the new week
  • 2End-of-week log archival
  • 3Generating weekly analytics report

Linux Crontab Example

0 0 * * 0 /app/full-backup.sh

Add this line to your crontab with crontab -e

Need a custom schedule?

Build your own cron expression visually with our generator.

Open Generator →