CronTool
Cron expression editor & debugger
Question

How can I run command every six hours every day?

Answer

Easy! Just use the following cron:


0 */6 * * * command
Why this matters

0 */6 * * * fires four times a day at 00:00, 06:00, 12:00 and 18:00 — top of every sixth hour. The minute field 0pins it to :00; the hour */6 selects every sixth hour starting from 0.


Variations: every 4 hours is 0 */4 * * * (six runs per day); every 8 hours is 0 */8 * * * (three runs); every 12 hours is 0 */12 * * * (twice). All start at 00:00 because the step is anchored at the field's minimum (0). To shift the start, use a range: 0 3-23/6 * * * fires at 03:00, 09:00, 15:00, 21:00.


If your job is heavyweight, the “every 6 hours” cadence is a common spot for cluster-load problems: every host with the same crontab fires within milliseconds of each other. Either stagger by host (e.g. modulo of $(hostname) hash → minute offset), or use a Jenkins-style H modifier where supported.

Read the dedicated guide: Cron every hour.

Cron schedule used

Calendar

View future cron matches in a calendar

April 2026

Showing next 1000 cron schedules

Loading...

See this cron expression on the calendar → view example

Related cron questions

Other answers and worked examples for the most confusing cron expressions.

QuestionHow can I write a Crontab that will run my script every 2 hours?
QuestionHow can I set up a cron job to run every night at 2:30? I am familiar with configuring it to run at 2:00, but not 2:30.
QuestionHow do you run a cron job every minute only on specific hours?
QuestionHow do I set up a cron job that runs every day at 1PM, 2PM and 3PM?

Ready to schedule it?

Point Crontap at any URL. Pick any cron. Done.

WordPress, Shopify, Railway, Cloud Run, Vercel, HubSpot, Ghost, your own box. If it answers HTTP, Crontap can drive it on a clock you can read, in the timezone that actually matters, and page you when something breaks.

Free forever tier ・ No credit card required

Your next schedule
GET/wp-cron.php?doing_wp_cron=1

Schedule

every 5 minutes

Next run

in 23s

Permalink: https://tool.crontap.com/help/cron-job-run-script-every-number-of-hours-of-the-day

Apihustle Logo

This tool is part of the Apihustle suite - a collection of tools to test, improve and get to know your API inside and out.

  • Clobbr logo

    Clobbr

    The app & CLI tool to test API endpoint speed.

    Visit
  • Crontap logo

    Crontap

    Schedule recurring API calls using cron syntax.

    Visit
  • CronTool logo

    CronTool

    Debug multiple cron expressions on a calendar.

    Visit

  • Page AI

    AI Website Generator that designs and writes clean code.

    Visit
  • Shipixen

    Generate customized boilerplates in minutes.

    Visit
  • Page UI

    Landing page UI components for React & Next.js

    Visit