Run a Cron Job Every Saturday
To run a job every Saturday, put 6 in the day-of-week field. For example 0 9 * * 6 runs at 9:00 AM every Saturday. Saturday is day 6 in cron.
The expression
0 9 * * 6 runs at 09:00 every Saturday. The last field is day-of-week, and 6 is Saturday.
Day numbers
0 or 7 = Sunday, 1–5 = Monday–Friday, 6 = Saturday. You can also write SAT: 0 9 * * SAT.
Change the time, or add Sunday
For 11:30 PM use 30 23 * * 6. For the whole weekend use 0 9 * * 6,0 (Saturday and Sunday).
FAQ
What is the cron expression for every Saturday?
0 9 * * 6 runs at 9 AM every Saturday. Saturday is day 6 in the day-of-week field.
What number is Saturday in cron?
Saturday is 6. You can also use the name SAT, as in 0 9 * * SAT.
How do I run every Saturday and Sunday?
Use 0 9 * * 6,0 — 6 is Saturday and 0 is Sunday, covering the whole weekend.