McCrontabcron & DST lab
0 bytes sent

15th of Month OR Every Monday (DOM+DOW Trap) (0 9 15 * 1)

Classic Vixie cron gotcha: runs on every 15th AND every Monday, not only Monday the 15th.

Cron Schedule

At 09:00 on day-of-month 15 OR on Monday.
Vixie cron DOM + DOW uses OR logic, not AND: Because both day-of-month (15) and day-of-week (1) are restricted, cron runs when EITHER matches, not only when both match.
DST check (Europe/Bratislava): 0 skipped or doubled runs in the next 2 years.

Next 8 Runs (Europe/Bratislava)

  • 2026-11-30 09:00 (Mon)2026-11-30T08:00:00.000Z
  • 2026-12-07 09:00 (Mon)2026-12-07T08:00:00.000Z
  • 2026-12-14 09:00 (Mon)2026-12-14T08:00:00.000Z
  • 2026-12-15 09:00 (Tue)2026-12-15T08:00:00.000Z
  • 2026-12-21 09:00 (Mon)2026-12-21T08:00:00.000Z
  • 2026-12-28 09:00 (Mon)2026-12-28T08:00:00.000Z
  • 2027-01-04 09:00 (Mon)2027-01-04T08:00:00.000Z
  • 2027-01-11 09:00 (Mon)2027-01-11T08:00:00.000Z

Provided as is, without warranty. Verify results; consult an expert for important decisions. Disclaimer

Schedule translations, DST collision findings, and stagger suggestions can be wrong for your cron daemon, timezone database, or environment. Test every expression in the target system before you use it in production.

Unix crontab (flock-guarded)

0 9 15 * 1 /usr/bin/flock -n /tmp/job.lock /usr/local/bin/job.sh >> /var/log/job.log 2>&1

Kubernetes CronJob YAML

apiVersion: batch/v1
kind: CronJob
metadata:
  name: scheduled-job
spec:
  schedule: "0 9 15 * 1"
  timeZone: "Europe/Bratislava"
  concurrencyPolicy: Forbid
  startingDeadlineSeconds: 300
  successfulJobsHistoryLimit: 3
  failedJobsHistoryLimit: 3

Spring / Java Quartz

@Scheduled(cron = "0 0 9 15 * ?", zone = "Europe/Bratislava")

AWS EventBridge

cron(0 9 15 * ? *)

GitHub Actions (UTC)

on:
  schedule:
    # GitHub Actions schedules ALWAYS run in UTC
    - cron: '0 9 15 * 1'

Linux systemd Timer

[Unit]
Description=Scheduled Job Timer

[Timer]
OnCalendar=Mon *-*-15 9:0:00
RandomizedDelaySec=120
Persistent=true

[Install]
WantedBy=timers.target