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