DD
DevDash

Cron Expression: Every even hour (0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22)

Cron Expression

0 0-22/2 * * *

Every even hour (0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22)

Click the expression to select it, then copy.

Quick Answer

The cron expression for "every even hour (0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22)" is `0 0-22/2 * * *`. Copy and paste this into your crontab, Vercel cron config, GitHub Actions workflow, or any standard cron-compatible scheduler.

Field-by-Field Breakdown

FieldValueMeaning
Minute0At minute 0
Hour0-22/2Between hour range: 0-22/2
Day of Month*Every day of month
Month*Every month
Day of Week*Every day of week

Common Use Cases

  • Alternating hour jobs
  • Even-hour processing

How to Use This Expression

Vercel Cron Jobs

// vercel.json
{
  "crons": [{
    "path": "/api/your-endpoint",
    "schedule": "0 0-22/2 * * *"
  }]
}

GitHub Actions

# .github/workflows/scheduled.yml
on:
  schedule:
    - cron: '0 0-22/2 * * *'

Linux crontab

0 0-22/2 * * * /path/to/your-command.sh

Frequently Asked Questions

Related Cron Expressions

Want API access + no ads? Pro coming soon.