Cron for every Sunday at 6pm
0 18 * * 0At 06:00 PM, only on Sunday
What this schedule does
Pin a job to Sunday at 6pm with 0 18 * * 0. Weekly deploys, payroll exports, and newsletter sends almost always name a weekday rather than “every 7 days,” because wall-clock day-of-week survives DST better than a raw interval.
Next 5 runs (UTC)
Times below are computed for UTC. Open the builder to preview another timezone.
- Sun, 23 Aug 2026, 18:00 UTC
- Sun, 30 Aug 2026, 18:00 UTC
- Sun, 06 Sept 2026, 18:00 UTC
- Sun, 13 Sept 2026, 18:00 UTC
- Sun, 20 Sept 2026, 18:00 UTC
Copy-paste snippets
GitHub Actions
UTC only. Quote the expression so YAML keeps the stars.
on:
schedule:
- cron: '0 18 * * 0'Kubernetes
CronJob spec.schedule. Kubernetes uses the timezone of the kube-controller-manager unless you set .spec.timeZone.
apiVersion: batch/v1
kind: CronJob
metadata:
name: job
spec:
schedule: "0 18 * * 0"
jobTemplate:
spec:
template:
spec:
restartPolicy: OnFailure
containers:
- name: job
image: busybox
args: ["echo", "run"]AWS EventBridge
Six fields: minutes hours day-of-month month day-of-week year. Use ? in either day-of-month or day-of-week.
cron(0 18 ? * 0 *)Quartz
Quartz is seconds-first (6 or 7 fields). Day-of-week names are MON, TUE, … and ? is required in one of the day fields.
0 0 18 * * 0Vercel Cron
{
"crons": [
{
"path": "/api/cron",
"schedule": "0 18 * * 0"
}
]
}crontab
0 18 * * 0 /usr/local/bin/jobnode-cron
import cron from 'node-cron';
cron.schedule('0 18 * * 0', () => {
// job
});Spring @Scheduled
Spring uses 6 fields by default (seconds first) unless you set spring.task.scheduling.cron.expression.
@Scheduled(cron = "0 0 18 * * 0")
public void run() {
// job
}