Cron Expression: Every 21 days (approximately three weeks) on the 1st and 22nd
Cron Expression
0 0 1,22 * *Every 21 days (approximately three weeks) on the 1st and 22nd
Click the expression to select it, then copy.
Quick Answer
The cron expression for "every 21 days (approximately three weeks) on the 1st and 22nd" is `0 0 1,22 * *`. 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 | 1,22 | At day of month values: 1,22 |
| Month | * | Every month |
| Day of Week | * | Every day of week |
Common Use Cases
- →Three-week sprint cycle
- →Tri-weekly reports
- →Non-standard periodic jobs
How to Use This Expression
Vercel Cron Jobs
// vercel.json
{
"crons": [{
"path": "/api/your-endpoint",
"schedule": "0 0 1,22 * *"
}]
}GitHub Actions
# .github/workflows/scheduled.yml
on:
schedule:
- cron: '0 0 1,22 * *'Linux crontab
0 0 1,22 * * /path/to/your-command.sh