devkult_
tools29converters34
home/cron/every-weekend

Run a Cron Job Every Weekend

The day-of-week list 6,0 matches Saturday and Sunday, so 0 10 * * 6,0 runs at 10:00 on both weekend days and never on weekdays. Weekends are a good window for heavy maintenance — reindexing, full backups, large migrations — when traffic is at its lowest.

0 10 * * 6,0

In plain English: At 10:00, on Saturday and Sunday.

Field by field

FieldValueMeaning
Minute00
Hour1010
Day of month*every day
Month*every month
Day of week6,0Saturday and Sunday

Variations

0 10 * * SAT,SUNthe same with day names
0 10 * * 6-7as a range — 7 also means Sunday
0 3 * * 6Saturdays only, at 03:00

Tweak any of these in the crontab explainer to see the schedule in plain English and its next run times.

Frequently asked questions

Why can't I write 6-0 for the weekend?

Ranges must go from low to high, so 6-0 is invalid. Use the list 6,0, the range 6-7 (7 is also Sunday), or SAT,SUN.

How do I run every hour at weekends?

Use a wildcard hour with the weekend days: 0 * * * 6,0 runs on the hour, all day Saturday and Sunday.

Related schedules

New to cron syntax? Read Cron Expressions Explained, Field by Field. Job not firing? Work through Cron Job Not Running? 10 Things to Check.