Skip to content

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.

Cron Expression 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

Field Value Meaning
Minute 0 At minute 0
Hour 10 At 10:00 AM
Day of Month * Any day of the month
Month * Every month
Day of Week 0,6 Sunday (0) and Saturday (6)

Example Next Run Times

  1. 1. 2026-04-05 10:00
  2. 2. 2026-04-11 10:00
  3. 3. 2026-04-12 10:00
  4. 4. 2026-04-18 10:00
  5. 5. 2026-04-19 10:00

Common Use Cases

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.

Related Cron Expressions

0 9 * * 1-5 Weekdays at 9 AM 0 0 * * 1 Weekly on Monday 0 12 * * * Daily at Noon

Related Reading

Cron Expression Guide: Syntax, Examples & Common Schedules → How to Generate UUID v4 in JavaScript →