Cron / once a year
Cron once a year: 0 0 1 1 *
Midnight on January 1 — @yearly / @annually. For an anniversary or renewal date, set the day and month: 0 9 15 6 * is June 15 at 09:00.
The expression
0 0 1 1 *
In words: At 00:00 on day-of-month 1 in January.
Field by field
| Field | Value | Means |
|---|---|---|
| Minute (0–59) | 0 | minute 0 |
| Hour (0–23) | 0 | hour 0 |
| Day of month (1–31) | 1 | day-of-month 1 |
| Month (1–12) | 1 | January |
| Day of week (0–6, Sunday = 0) | * | every day of the week |
Next runs
Starting from 2026-11-27 00:00 UTC:
- Fri, Jan 1, 2027, 00:00 UTC
- Sat, Jan 1, 2028, 00:00 UTC
- Mon, Jan 1, 2029, 00:00 UTC
- Tue, Jan 1, 2030, 00:00 UTC
- Wed, Jan 1, 2031, 00:00 UTC
Try other expressions and timezones in the cron expression tool.
The same schedule on other platforms
Linux crontab. Edit with crontab -e. Runs in the server’s timezone unless you set CRON_TZ (cronie) or TZ.
0 0 1 1 * /path/to/job.sh >> /var/log/job.log 2>&1
GitHub Actions. Schedules run in UTC on the default branch, and runs can start late when GitHub is busy.
on:
schedule:
- cron: '0 0 1 1 *'
Kubernetes CronJob. Set timeZone (Kubernetes 1.27+) or the schedule follows the controller’s timezone, usually UTC. concurrencyPolicy: Forbid stops runs from overlapping.
apiVersion: batch/v1
kind: CronJob
metadata:
name: my-job
spec:
schedule: "0 0 1 1 *"
timeZone: "Etc/UTC"
concurrencyPolicy: Forbid
jobTemplate:
spec:
template:
spec:
restartPolicy: OnFailure
containers:
- name: job
image: busybox
command: ["sh", "-c", "echo running"]
AWS EventBridge Scheduler. Six fields (the last is the year); one of day-of-month or day-of-week must be ?. Pick the timezone on the schedule.
cron(0 0 1 1 ? *)
Wisp. Describe the job and say how often in plain words — Wisp writes the function, turns the schedule into this cron expression in your timezone, and runs it with logs and error alerts.
"Once a year, fetch new orders from Shopify and post a summary to Slack."
Questions
Does cron support a year field? Standard cron doesn’t. AWS EventBridge and Quartz have a seventh/sixth field for the year.
Try any expression in the cron tool · Run it on a schedule with Wisp