All recipes

Cron recipe

Cron job every 4 hours: the exact expression

The expression

five-field cron
0 */4 * * *

Paste it into crontab -e, your platform cron config, or tool.crontap.com/cronjob-debugger to preview the next runs.

What it does

Runs six times per day at 00:00, 04:00, 08:00, 12:00, 16:00, and 20:00.

When to use it

  • Warehouse snapshot exports

    Common cadence for S3 dumps and dbt runs in smaller teams.

  • Marketing attribution rollups

    Enough for funnel dashboards that are not real-time.

Run this with Crontap

External HTTP cron hits your URL on this schedule, stores every response, and emails you when a run fails. No daemon on the box, no drift when the server reboots. Pro schedules down to a 1-minute cadence; $3.25/mo annual flat for unlimited jobs.

Related recipes

More patterns in the cron syntax cheat sheet and what is a cron job in Linux.

FAQ

What is the cron expression for every 4 hours?
Use 0 */4 * * * (standard five-field cron). Verify the next run times in the free cron debugger before you deploy.
Can Crontap run this schedule?
Yes. Crontap fires five-field expressions on your chosen cadence (1-minute floor on Pro), with per-schedule IANA timezones, retries, and failure alerts. Pro is $3.25/mo billed annually.