Cron every 2 hours
Expression: 0 */2 * * *
Meaning
Run at minute 0 every two hours.
Example use
Useful for cleanup jobs and sync tasks that do not need hourly execution.
How to modify it
Change */2 to */4 for every four hours.
Use it in the cron parser
Open the Cron Parser, paste 0 */2 * * *,
and review the next run times in your browser before using the schedule in production.
Related cron schedules
- Cron every hour —
0 * * * * - Cron every 4 hours —
0 */4 * * * - Cron every day at midnight —
0 0 * * *
FAQ
Does cron use my local time zone?
Cron uses the time zone configured in the scheduler or server. Cloud platforms, CI systems and containers may default to UTC.
Is this a five-field or six-field cron?
This page uses standard five-field crontab syntax: minute, hour, day of month, month and day of week.