Cron · Days and weeks

Cron Expression for Every Weekend

0 10 * * 0,6 Runs at 10:00 on Saturday and Sunday. In Unix cron, 0 (or 7) is Sunday and 6 is Saturday.

Unix cron · UTC
“At 10:00, on Saturday and Sunday”
Presets
Direction
Clock

Every Weekend: Unix / Linux cron expression

0 10 * * 0,6

“At 10:00, on Saturday and Sunday.”

What each field means
FieldValueMeaning
Minute0:00
Hour1010 AM
Day of month*every day
Month*every month
Day of week0,6Sat, Sun

Every Weekend in every cron format

SchedulerExpression
Unix / Linux cron
crontab, cronie, Vixie cron, Kubernetes CronJob, GitHub Actions
0 10 * * 0,6
Quartz
Quartz Scheduler (Java)
0 0 10 ? * SUN,SAT
Spring @Scheduled
Spring Framework CronExpression and @Scheduled
0 0 10 * * SUN,SAT
AWS EventBridge
EventBridge rules and Scheduler cron()
cron(0 10 ? * SUN,SAT *)

Next run times (UTC)

  1. Sat, Dec 5, 2026 10:00
  2. Sun, Dec 6, 2026 10:00
  3. Sat, Dec 12, 2026 10:00
  4. Sun, Dec 13, 2026 10:00
  5. Sat, Dec 19, 2026 10:00

Calculated when this page was generated. Use the tester above for live times in your own time zone.

Tip

Write SAT,SUN for readability; in Quartz and AWS remember that the numbers differ (1 = Sunday, 7 = Saturday).

Copy-ready examples

# At 10:00, on Saturday and Sunday
0 10 * * 0,6  /path/to/command >> /var/log/my-job.log 2>&1
crontab (Linux)
apiVersion: batch/v1
kind: CronJob
metadata:
  name: my-job
spec:
  # At 10:00, on Saturday and Sunday
  schedule: "0 10 * * 0,6"
  timeZone: "Etc/UTC"
  concurrencyPolicy: Forbid
  jobTemplate:
    spec:
      template:
        spec:
          restartPolicy: OnFailure
          containers:
            - name: my-job
              image: busybox:1.36
              command: ["sh", "-c", "date; echo Hello"]
Kubernetes CronJob
# At 10:00, on Saturday and Sunday (UTC)
# GitHub Actions schedules always run in UTC and may start a few minutes late.
on:
  schedule:
    - cron: "0 10 * * 0,6"
GitHub Actions (UTC)
// At 10:00, on Saturday and Sunday
@Scheduled(cron = "0 0 10 * * SUN,SAT", zone = "UTC")
public void runJob() {
    // ...
}

// Or externalise it in application.yml:
// app.jobs.my-job.cron: "0 0 10 * * SUN,SAT"
// @Scheduled(cron = "${app.jobs.my-job.cron}", zone = "UTC")
Spring Boot

Common questions

What is the cron expression for every weekend?

In standard Unix cron (crontab, Kubernetes, GitHub Actions) use 0 10 * * 0,6. It means: At 10:00, on Saturday and Sunday.

How do I run a Spring @Scheduled job every weekend?

Use @Scheduled(cron = "0 0 10 * * SUN,SAT"). Spring cron has six fields, starting with seconds. Add zone = "Europe/London" (or any IANA zone) to run it in a specific time zone instead of the server's.

What is the Quartz cron expression for every weekend?

0 0 10 ? * SUN,SAT. Quartz adds a seconds field at the start and requires ? in either the day-of-month or day-of-week field.

How do I write every weekend for AWS EventBridge?

Use cron(0 10 ? * SUN,SAT *). EventBridge cron has six fields including a year, and one of the two day fields must be ?. Classic EventBridge rules run in UTC; EventBridge Scheduler accepts a time zone.

Which time zone does this cron schedule use?

Cron runs in the time zone of the scheduler: the server's local zone for crontab, UTC for GitHub Actions and EventBridge rules, or the zone you set with CRON_TZ, Kubernetes timeZone, Spring zone or Quartz inTimeZone. Choose a zone in the tester above to see local run times.

More cron schedules

Similar: Every Weekday at 9 AM (0 9 * * 1-5) · Every Sunday (0 0 * * 0) · Every Week (0 0 * * 0)