Cron Every 30 Minutes
The */30 in the minute field means "every 30th minute." The job runs at minutes 0 and 30 — twice per hour, 48 times per day.
Cron Expression
*/30 * * * *Field Breakdown
| Field | Value | Meaning |
|---|---|---|
| Minute | */30 | Every 30th minute (0, 30) |
| Hour | * | Every hour (0-23) |
| Day of Month | * | Every day (1-31) |
| Month | * | Every month (1-12) |
| Day of Week | * | Every day of the week (0-6) |
Variations
*/30 * * * *Every 30 minutes (at :00 and :30)0,30 * * * *Equivalent explicit form15,45 * * * *Every 30 minutes at :15 and :45 (offset)Common Use Cases
- Large data backups and snapshots
- Batch report generation
- Data aggregation pipelines
- System health summaries
- Comprehensive log analysis
Tips & Best Practices
*/30 only produces two runs per hour (at :00 and :30). Use 15,45 if you need to offset from the hour.
Good for jobs that take 10-20 minutes to complete, giving buffer time between runs.