McCrontabcron & DST lab
0 bytes sent

First Day of Every Month (@monthly) (0 0 1 * *)

Runs at 00:00 on day 1 of every month.

Cron Schedule

At 00:00 on day 1 of the month.
DST check (Europe/Bratislava): 0 skipped or doubled runs in the next 2 years.

Next 8 Runs (Europe/Bratislava)

  • 2026-12-01 00:00 (Tue)2026-11-30T23:00:00.000Z
  • 2027-01-01 00:00 (Fri)2026-12-31T23:00:00.000Z
  • 2027-02-01 00:00 (Mon)2027-01-31T23:00:00.000Z
  • 2027-03-01 00:00 (Mon)2027-02-28T23:00:00.000Z
  • 2027-04-01 00:00 (Thu)2027-03-31T22:00:00.000Z
  • 2027-05-01 00:00 (Sat)2027-04-30T22:00:00.000Z
  • 2027-06-01 00:00 (Tue)2027-05-31T22:00:00.000Z
  • 2027-07-01 00:00 (Thu)2027-06-30T22: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 0 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 0 1 * *"
  timeZone: "Europe/Bratislava"
  concurrencyPolicy: Forbid
  startingDeadlineSeconds: 300
  successfulJobsHistoryLimit: 3
  failedJobsHistoryLimit: 3

Spring / Java Quartz

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

AWS EventBridge

cron(0 0 1 * ? *)

GitHub Actions (UTC)

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

Linux systemd Timer

[Unit]
Description=Scheduled Job Timer

[Timer]
OnCalendar=*-*-1 0:0:00
RandomizedDelaySec=120
Persistent=true

[Install]
WantedBy=timers.target