DD
DevDash

Cron Expression: On the hour from 10 PM to 6 AM

Cron Expression

0 22,23,0,1,2,3,4,5,6 * * *

On the hour from 10 PM to 6 AM

Click the expression to select it, then copy.

Quick Answer

The cron expression for "on the hour from 10 pm to 6 am" is `0 22,23,0,1,2,3,4,5,6 * * *`. 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
Hour22,23,0,1,2,3,4,5,6At hour values: 22,23,0,1,2,3,4,5,6
Day of Month*Every day of month
Month*Every month
Day of Week*Every day of week

Common Use Cases

  • Overnight hourly jobs
  • Night shift automation

How to Use This Expression

Vercel Cron Jobs

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

GitHub Actions

# .github/workflows/scheduled.yml
on:
  schedule:
    - cron: '0 22,23,0,1,2,3,4,5,6 * * *'

Linux crontab

0 22,23,0,1,2,3,4,5,6 * * * /path/to/your-command.sh

Frequently Asked Questions

Related Cron Expressions

Want API access + no ads? Pro coming soon.