Cron expression for every 6 hours

At minute 0 past every 6th hour

0
minute
*/6
hour
*
day (month)
*
month
*
day (week)

At minute 0 past every 6th hour

Try this expression in the interactive tool:

Open in cron explainer →

Next 10 scheduled runs

#1Thu, 16 Apr 2026, 06:00
#2Thu, 16 Apr 2026, 12:00
#3Thu, 16 Apr 2026, 18:00
#4Fri, 17 Apr 2026, 00:00
#5Fri, 17 Apr 2026, 06:00
#6Fri, 17 Apr 2026, 12:00
#7Fri, 17 Apr 2026, 18:00
#8Sat, 18 Apr 2026, 00:00
#9Sat, 18 Apr 2026, 06:00
#10Sat, 18 Apr 2026, 12:00

Common use cases

Four times a day — midnight, 6:00, 12:00, and 18:00 — is a common schedule for tasks that need to run multiple times daily but don't need hourly frequency.

Database backup snapshots are a classic use case. A 6-hourly backup gives you a maximum 6-hour recovery point objective (RPO), which is acceptable for many non-critical systems. Combined with continuous WAL archiving for PostgreSQL or binary log shipping for MySQL, the snapshots serve as a safety net.

Data pipeline stages that aggregate and transform data for downstream consumers also fit this pattern.

Platform-specific syntax

crontab
0 */6 * * * /path/to/script.sh
AWS EventBridge
cron(0 0/6 * * ? *)
GitHub Actions
schedule:
  - cron: '0 */6 * * *'
Kubernetes
schedule: "0 */6 * * *"

Technical breakdown

The expression 0 */6 * * * has five fields: minute=0, hour=*/6, day (month)=*, month=*, day (week)=*. At minute 0 past every 6th hour.

Frequently asked questions

What times does 0 */6 * * * run at?
00:00, 06:00, 12:00, and 18:00 — four times per day. The */6 in the hour field means 'every 6th hour starting from 0'.