Cron Expression for Every Quarter
0 0 1 1,4,7,10 *At 12:00 AM, on day 1 of the month, only in January, April, July, and October. Quarterly reports, access reviews, and key rotation policies.
Field-by-field breakdown
| Field | Value | Allowed range | Meaning |
|---|---|---|---|
| Minute | 0 | 0–59 | at minute 0 |
| Hour | 0 | 0–23 | at hour 0 |
| Day of month | 1 | 1–31 | on day 1 |
| Month | 1,4,7,10 | 1–12 | January, April, July and October |
| Day of week | * | 0–6 (Sunday = 0) | every day of the week |
Next 5 runs (your time zone)
Calculating upcoming runs…
Cron uses the time zone of the machine or scheduler that runs it, which is often UTC on servers.
How to use this schedule
crontab
0 0 1 1,4,7,10 * /path/to/script.sh >> /var/log/job.log 2>&1Kubernetes CronJob
apiVersion: batch/v1
kind: CronJob
metadata:
name: my-job
spec:
schedule: "0 0 1 1,4,7,10 *"
jobTemplate:
spec:
template:
spec:
containers:
- name: my-job
image: busybox
command: ["sh", "-c", "echo running"]
restartPolicy: OnFailureGitHub Actions
on:
schedule:
- cron: '0 0 1 1,4,7,10 *' # UTCFrequently Asked Questions
What is the cron expression for every quarter?
Use "0 0 1 1,4,7,10 *". In plain English: At 12:00 AM, on day 1 of the month, only in January, April, July, and October.
What does "0 0 1 1,4,7,10 *" mean?
Minute: at minute 0; Hour: at hour 0; Day of month: on day 1; Month: January, April, July and October; Day of week: every day of the week.