Weekends at 10 AM
Runs the job at 10:00 AM on Saturday and Sunday only. The day-of-week field uses 0 for Sunday and 6 for Saturday. This schedule is useful for weekend-specific tasks like off-peak maintenance, weekend digest emails, and batch processing that takes advantage of lower system load.
0 10 * * 0,6 What is the cron expression for Weekends at 10 AM?
The cron expression for Weekends at 10 AM is 0 10 * * 0,6. This five-field cron schedule uses the format minute, hour, day-of-month, month, and day-of-week. Runs the job at 10:00 AM on Saturday and Sunday only. The day-of-week field uses 0 for Sunday and 6 for Saturday. This schedule is useful for weekend-specific tasks like off-peak maintenance, weekend digest emails, and batch processing that takes advantage of lower system load. Common use cases include weekend maintenance and off-peak data migration.
Field Breakdown
Example Next Run Times
- 1.
2026-04-05 10:00 - 2.
2026-04-11 10:00 - 3.
2026-04-12 10:00 - 4.
2026-04-18 10:00 - 5.
2026-04-19 10:00
Common Use Cases
- ✓ Weekend maintenance
- ✓ Off-peak data migration
- ✓ Weekend summary emails
- ✓ Batch processing
Frequently Asked Questions
Why use 0,6 instead of 6-0 for weekends?
The range 6-0 is not valid in most cron implementations because 6 is greater than 0. Use the comma-separated list 0,6 or 6,0 to specify Saturday and Sunday.
Is Sunday 0 or 7?
In standard cron, Sunday is 0. Some implementations also accept 7 as Sunday. It is safest to use 0 for maximum compatibility.
How do I run on Saturdays only?
Use 0 10 * * 6 to run only on Saturdays. Remove the 0 from the day-of-week list.