crontool
Paste a schedule, read it in English, see the next runs.

Cron Expression: Weekends Only

The expression is 0 0 * * 6,0. Paste it above to read it in English and preview the next local run times.

The expression

0 0 * * 6,0 runs a job at midnight on Saturday and Sunday.

Field by field

0 0 = midnight. The weekday list 6,0 means Saturday (6) and Sunday (0). You could also write 6-7 or SAT,SUN.

Common variations

Weekends at 8am: 0 8 * * 6,0. Weekdays instead: 0 0 * * 1-5.

FAQ

What weekday numbers are Saturday and Sunday?

Saturday is 6, Sunday is 0 (or 7). So weekends are 6,0.

Can I write it with names?

Yes, 0 0 * * SAT,SUN works in most cron implementations.

How do I run only on weekdays instead?

Use 0 0 * * 1-5 for Monday through Friday.