Cron Expression: 0 */12 * * *
Every 12 hours (00:00 and 12:00).
Field Breakdown
| Field | Value |
|---|---|
| Minute | 0 |
| Hour | */12 |
| Day of Month | * |
| Month | * |
| Day of Week | * |
Common Use Case
Twice-daily syncs.
Equivalents in Popular Schedulers
crontab (Linux/macOS)
0 */12 * * * /path/to/your/script.sh
GitHub Actions (.github/workflows/*.yml)
on:
schedule:
- cron: '0 */12 * * *'
AWS EventBridge (cron format)
cron(0 */12 * * *) # Note: AWS uses 6 fields with year
Kubernetes CronJob
spec: schedule: "0 */12 * * *"