Cron: Every weekend (Sat & Sun)

Runs the job at midnight on Saturday and Sunday.

0 0 * * 6,0

At 00:00 on Saturday and Sunday.

Field breakdown

MinuteHourDay of monthMonthDay of week
00**6,0

The five fields are, in order: minute (0–59), hour (0–23), day of month (1–31), month (1–12), and day of week (0–6, Sunday = 0).

Common use case

Weekend-only maintenance or heavy batch jobs scheduled when traffic is lowest.

Watch out for

6,0 means Saturday and Sunday; both 0 and 7 mean Sunday in most cron flavors, so 6,0 and 0,6 are equivalent.

Other common cron expressions

Build and test your own cron schedule with a live preview.

Open the Cron Expression tool