DD
DevDash

Cron Expression: Every odd hour (1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23)

Cron Expression

0 1-23/2 * * *

Every odd hour (1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23)

Click the expression to select it, then copy.

Quick Answer

The cron expression for "every odd hour (1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23)" is `0 1-23/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
Hour1-23/2Between hour range: 1-23/2
Day of Month*Every day of month
Month*Every month
Day of Week*Every day of week

Common Use Cases

  • Alternating hour jobs
  • Offset from even-hour tasks

How to Use This Expression

Vercel Cron Jobs

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

GitHub Actions

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

Linux crontab

0 1-23/2 * * * /path/to/your-command.sh

Frequently Asked Questions

Related Cron Expressions

Want API access + no ads? Pro coming soon.