Interval Schedules

Cron Job Every 2 Hours – Expression & Examples

The */2 step in the hour field triggers at hours 0, 2, 4, 6, ..., 22. Combined with minute 0, it runs at the top of every even hour.

Cron Expression
0 */2 * * *
0
Minute
(0-59)
*/2
Hour
(0-23)
*
Day of Month
(1-31)
*
Month
(1-12)
*
Day of Week
(0-6)

How It Works

The */2 step in the hour field triggers at hours 0, 2, 4, 6, ..., 22. Combined with minute 0, it runs at the top of every even hour.

Common Use Cases

  • Sitemap regeneration
  • Search index updates
  • Compliance scans
  • Backup snapshots

Schedule This Cron Job Now

Create a free CronJobPro account and use 0 */2 * * * to schedule HTTP requests automatically — with monitoring, retries, and notifications built in.

Frequently Asked Questions

What does 0 */2 * * * mean in cron?

The */2 step in the hour field triggers at hours 0, 2, 4, 6, ..., 22. Combined with minute 0, it runs at the top of every even hour.

How do I use this cron expression?

On Linux/macOS, edit your crontab with crontab -e and add:
0 */2 * * * /path/to/your/script.sh
Or use CronJobPro to schedule HTTP requests with this expression — no server required.

What timezone does cron use?

By default, cron uses the system timezone. CronJobPro lets you set a specific timezone per job, so your schedules are predictable regardless of server location.