DD
DevDash

Cron Expression: Every 5 minutes during nighttime (10 PM to 6 AM)

Cron Expression

*/5 22-23,0-6 * * *

Every 5 minutes during nighttime (10 PM to 6 AM)

Click the expression to select it, then copy.

Quick Answer

The cron expression for "every 5 minutes during nighttime (10 pm to 6 am)" is `*/5 22-23,0-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
Minute*/5Every 5 minute
Hour22-23,0-6At hour values: 22-23,0-6
Day of Month*Every day of month
Month*Every month
Day of Week*Every day of week

Common Use Cases

  • Overnight high-frequency monitoring
  • Night batch processing

How to Use This Expression

Vercel Cron Jobs

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

GitHub Actions

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

Linux crontab

*/5 22-23,0-6 * * * /path/to/your-command.sh

Frequently Asked Questions

Related Cron Expressions

Want API access + no ads? Pro coming soon.