Cron Expression for Every Sunday
0 0 * * 0→Runs at midnight every SundayQuick Examples
How It Works
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.shAdd this line to your crontab with crontab -e
Need a custom schedule?
Build your own cron expression visually with our generator.
More Weekly Schedules
Runs at midnight every Monday
0 0 * * 1
Runs at midnight every Friday
0 0 * * 5
Runs at midnight Monday through Friday
0 0 * * 1-5
Runs at midnight on Saturday and Sunday
0 0 * * 0,6
Runs at midnight every Saturday
0 0 * * 6
Runs at midnight every Tuesday
0 0 * * 2
Runs at midnight every Wednesday
0 0 * * 3
Runs at midnight every Thursday
0 0 * * 4
Runs at 9 AM Monday through Friday
0 9 * * 1-5
Runs at 5 PM Monday through Friday
0 17 * * 1-5
Runs at noon every Tuesday
0 12 * * 2
Runs at 9 AM every Monday
0 9 * * 1
Runs at 5 PM every Friday
0 17 * * 5
Runs at 9 AM every Sunday
0 9 * * 0
Runs at 9 AM every Saturday
0 9 * * 6
Runs at 3 PM every Wednesday
0 15 * * 3
Runs at midnight on Mon, Tue, Wed
0 0 * * 1-3
Runs at midnight on Thu, Fri, Sat
0 0 * * 4-6
Runs hourly 9–17 on weekdays
0 9-17 * * 1-5
Runs at 12 PM Monday through Friday
0 12 * * 1-5
Runs at midnight on Tue and Thu
0 0 * * 2,4
Runs at midnight on Mon, Wed, Fri
0 0 * * 1,3,5
Runs at midnight on Mon and Fri
0 0 * * 1,5
Runs at 12 PM on Sat and Sun
0 12 * * 0,6