0–59

0–23
everyfrom

1–31

1–12 or JAN–DEC

0–7 (0 and 7 = Sunday) or SUN–SAT

Common schedules

How to write it in Linux crontab

0 */6 * * * /path/to/command
  • 100% Free
  • No Sign-Up
  • No Credit Card
  • No Free Trial
  • No Pro Tier
  • No Watermarks

Nothing is uploaded. Just open it and start.

Cron Every 6 Hours

Runs at 00:00, 06:00, 12:00 and 18:00 every day.

0 */6 * * *

At 00:00, 06:00, 12:00 and 18:00, every day.

Field by field

FieldValueMeans
Minute0minutes 0
Hour*/6hours 0, 6, 12 and 18
Day of month*every day
Month*every month
Day of week*every day

Other common schedules

Build or explain any cron expression →

Frequently asked questions

What is the cron expression for every 6 hours?
0 */6 * * *. In words: At 00:00, 06:00, 12:00 and 18:00, every day. It runs in the time zone of the machine or service that runs it.
How do I write it for Quartz, Spring, GitHub Actions or AWS?
GitHub Actions: 0 */6 * * *. Kubernetes CronJob: 0 */6 * * *. Quartz: 0 0 */6 * * ?. Spring @Scheduled: 0 0 */6 * * *. AWS EventBridge: cron(0 */6 * * ? *).
Can I check when it runs next?
Yes. The tool above lists the next runs in your time zone or any other, shows a month calendar of runs, and warns about runs the clocks skip or repeat. Nothing is uploaded.

Spotted a bug or have a suggestion?

Found something broken, have an idea, or just want to say thanks about any of our tools? Every message reaches a real person.