Cron Expression: On the last day of Q1 (March 31) and Q4 (December 31) — approximate quarter-end
Cron Expression
0 0 31 3,12 *On the last day of Q1 (March 31) and Q4 (December 31) — approximate quarter-end
Click the expression to select it, then copy.
Quick Answer
The cron expression for "on the last day of q1 (march 31) and q4 (december 31) — approximate quarter-end" is `0 0 31 3,12 *`. Copy and paste this into your crontab, Vercel cron config, GitHub Actions workflow, or any standard cron-compatible scheduler.
Field-by-Field Breakdown
| Field | Value | Meaning |
|---|---|---|
| Minute | 0 | At minute 0 |
| Hour | 0 | At hour 0 |
| Day of Month | 31 | At day of month 31 |
| Month | 3,12 | At month values: 3,12 |
| Day of Week | * | Every day of week |
Common Use Cases
- →Quarterly close
- →End-of-quarter reconciliation
How to Use This Expression
Vercel Cron Jobs
// vercel.json
{
"crons": [{
"path": "/api/your-endpoint",
"schedule": "0 0 31 3,12 *"
}]
}GitHub Actions
# .github/workflows/scheduled.yml
on:
schedule:
- cron: '0 0 31 3,12 *'Linux crontab
0 0 31 3,12 * /path/to/your-command.sh