Cron Reference
Every 6 Hours
Runs 4 times per day at midnight, 6 AM, noon, and 6 PM.
Expression Breakdown
| Minute | Hour | Day | Month | Weekday |
|---|---|---|---|---|
| 0 | */6 | * | * | * |
| 0 | every 6 | any | any | any |
Next 5 Scheduled Runs
- Sunday, June 14 2026 at 12:00 AM
- Sunday, June 14 2026 at 6:00 AM
- Sunday, June 14 2026 at 12:00 PM
- Sunday, June 14 2026 at 6:00 PM
- Monday, June 15 2026 at 12:00 AM
Times are relative to the server's local clock at page load.
Common Use Cases
- Database backups
- Currency exchange rate updates
- Weather data refreshes
How to Install
Linux / macOS (crontab)
Run crontab -e and add this line:
0 */6 * * * /path/to/your/script.sh
Python (APScheduler / cron-style)
scheduler.add_job(my_func, 'cron',
minute='0',
hour='*/6',
day='*',
month='*',
day_of_week='*')
GitHub Actions (schedule)
on:
schedule:
- cron: '0 */6 * * *'
Frequently Asked Questions
When does 0 */6 * * * run?
Exactly at 00:00, 06:00, 12:00, and 18:00 every day.
How do I run every 6 hours starting at 1 AM?
Use
0 1/6 * * * — it fires at 01:00, 07:00, 13:00, 19:00.