# Run a Cron Job Every Weekend

> The cron expression for weekends only is 0 10 * * 6,0 — Saturdays and Sundays at 10:00. Field meanings, next runs, and variations using SAT,SUN or 6-7.

```
0 10 * * 6,0
```

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

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.

## Field by field

| Field | Value | Meaning |
|---|---|---|
| Minute | `0` | 0 |
| Hour | `10` | 10 |
| Day of month | `*` | every day |
| Month | `*` | every month |
| Day of week | `6,0` | Saturday and Sunday |

## Variations

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

## FAQ

### 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

- [0 0 * * 0 — Run a Cron Job Every Sunday](https://www.devkult.com/cron/every-sunday.md)
- [0 17 * * 5 — Run a Cron Job Every Friday](https://www.devkult.com/cron/every-friday.md)
- [0 9 * * 1-5 — Run a Cron Job Every Weekday](https://www.devkult.com/cron/every-weekday.md)

Open the interactive page: https://www.devkult.com/cron/every-weekend