Every Sunday: Unix / Linux cron expression
0 0 * * 0“At 00:00, on Sunday.”
| Field | Value | Meaning |
|---|---|---|
| Minute | 0 | :00 |
| Hour | 0 | 12 AM |
| Day of month | * | every day |
| Month | * | every month |
| Day of week | 0 | Sun |
Every Sunday in every cron format
| Scheduler | Expression |
|---|---|
| Unix / Linux cron crontab, cronie, Vixie cron, Kubernetes CronJob, GitHub Actions | 0 0 * * 0 |
| Quartz Quartz Scheduler (Java) | 0 0 0 ? * SUN |
| Spring @Scheduled Spring Framework CronExpression and @Scheduled | 0 0 0 * * SUN |
| AWS EventBridge EventBridge rules and Scheduler cron() | cron(0 0 ? * SUN *) |
Next run times (UTC)
- Sun, Dec 6, 2026
00:00 - Sun, Dec 13, 2026
00:00 - Sun, Dec 20, 2026
00:00 - Sun, Dec 27, 2026
00:00 - Sun, Jan 3, 2027
00:00
Calculated when this page was generated. Use the tester above for live times in your own time zone.
Tip
Both 0 and 7 mean Sunday in Unix cron, and SUN works too.
Copy-ready examples
# At 00:00, on Sunday
0 0 * * 0 /path/to/command >> /var/log/my-job.log 2>&1apiVersion: batch/v1
kind: CronJob
metadata:
name: my-job
spec:
# At 00:00, on Sunday
schedule: "0 0 * * 0"
timeZone: "Etc/UTC"
concurrencyPolicy: Forbid
jobTemplate:
spec:
template:
spec:
restartPolicy: OnFailure
containers:
- name: my-job
image: busybox:1.36
command: ["sh", "-c", "date; echo Hello"]# At 00:00, on Sunday (UTC)
# GitHub Actions schedules always run in UTC and may start a few minutes late.
on:
schedule:
- cron: "0 0 * * 0"// At 00:00, on Sunday
@Scheduled(cron = "0 0 0 * * SUN", zone = "UTC")
public void runJob() {
// ...
}
// Or externalise it in application.yml:
// app.jobs.my-job.cron: "0 0 0 * * SUN"
// @Scheduled(cron = "${app.jobs.my-job.cron}", zone = "UTC")Common questions
What is the cron expression for every sunday?
In standard Unix cron (crontab, Kubernetes, GitHub Actions) use 0 0 * * 0. It means: At 00:00, on Sunday.
How do I run a Spring @Scheduled job every sunday?
Use @Scheduled(cron = "0 0 0 * * SUN"). Spring cron has six fields, starting with seconds. Add zone = "Europe/London" (or any IANA zone) to run it in a specific time zone instead of the server's.
What is the Quartz cron expression for every sunday?
0 0 0 ? * SUN. Quartz adds a seconds field at the start and requires ? in either the day-of-month or day-of-week field.
How do I write every sunday for AWS EventBridge?
Use cron(0 0 ? * SUN *). EventBridge cron has six fields including a year, and one of the two day fields must be ?. Classic EventBridge rules run in UTC; EventBridge Scheduler accepts a time zone.
Which time zone does this cron schedule use?
Cron runs in the time zone of the scheduler: the server's local zone for crontab, UTC for GitHub Actions and EventBridge rules, or the zone you set with CRON_TZ, Kubernetes timeZone, Spring zone or Quartz inTimeZone. Choose a zone in the tester above to see local run times.
More cron schedules
Similar: Every Week (0 0 * * 0) · Every Monday (0 9 * * 1) · Every Weekend (0 10 * * 0,6)