Cron Reference
Every Week
Runs once a week at midnight on Sunday.
Expression Breakdown
| Minute | Hour | Day | Month | Weekday |
|---|---|---|---|---|
| 0 | 0 | * | * | 0 |
| 0 | 0 | any | any | 0 |
Next 5 Scheduled Runs
- Sunday, June 14 2026 at 12:00 AM
- Sunday, June 21 2026 at 12:00 AM
- Sunday, June 28 2026 at 12:00 AM
- Sunday, July 5 2026 at 12:00 AM
- Sunday, July 12 2026 at 12:00 AM
Times are relative to the server's local clock at page load.
Common Use Cases
- Weekly digest emails
- Full weekly backups
- Weekly analytics roll-ups
How to Install
Linux / macOS (crontab)
Run crontab -e and add this line:
0 0 * * 0 /path/to/your/script.sh
Python (APScheduler / cron-style)
scheduler.add_job(my_func, 'cron',
minute='0',
hour='0',
day='*',
month='*',
day_of_week='0')
GitHub Actions (schedule)
on:
schedule:
- cron: '0 0 * * 0'
Frequently Asked Questions
What does 0 0 * * 0 mean?
Minute 0, hour 0, any day of the month, any month, Sunday (0). The job runs at midnight every Sunday.
How do I run a weekly job on Monday mornings?
Use
0 8 * * 1 to run at 08:00 every Monday.Is @weekly the same as 0 0 * * 0?
Yes —
@weekly is shorthand for 0 0 * * 0 in most cron implementations.