Cron Expression: Every Saturday at Midnight
The expression is 0 0 * * 6. Paste it above to read it in English and preview the next run times. Below: field-by-field and how time zones affect it.
The expression
0 0 * * 6 runs a job at 00:00 on Saturday — midnight as Friday turns into Saturday — once a week.
Field by field
0 minute, 0 hour (midnight), * * for every day-of-month and month, and 6 in the weekday field = Saturday.
Which midnight?
0 0 * * 6 is the midnight that starts Saturday, i.e. the instant after Friday 23:59. If you mean the end of Saturday, that is really Sunday midnight: 0 0 * * 0.
Time zones
Midnight here is the server's local 00:00. On a UTC server it is Saturday 00:00 UTC. A different CRON_TZ can shift which calendar day the run lands on.
Common variations
Every Sunday at midnight: 0 0 * * 0. Saturday at 3am (quieter maintenance window): 0 3 * * 6. Every weekend day at midnight: 0 0 * * 0,6.
FAQ
Is Saturday 0 or 6 in cron?
Saturday is 6. Weekdays run 0–6 with Sunday=0, so Saturday is the last, 6.
Does 0 0 * * 6 run at the start or end of Saturday?
The start — 00:00 as Friday becomes Saturday. End-of-Saturday is Sunday midnight, 0 0 * * 0.
How do I run every weekend at midnight?
Use 0 0 * * 0,6 to fire on both Sunday and Saturday.