DD
DevDash

Cron Expression: On the first Friday of every month at midnight

Cron Expression

0 0 1-7 * 5

On the first Friday of every month at midnight

Click the expression to select it, then copy.

Quick Answer

The cron expression for "on the first friday of every month at midnight" is `0 0 1-7 * 5`. 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
Hour0At hour 0
Day of Month1-7Between day of month range: 1-7
Month*Every month
Day of Week5At day of week 5

Common Use Cases

  • Monthly Friday event
  • First-Friday maintenance

How to Use This Expression

Vercel Cron Jobs

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

GitHub Actions

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

Linux crontab

0 0 1-7 * 5 /path/to/your-command.sh

Frequently Asked Questions

Related Cron Expressions

Want API access + no ads? Pro coming soon.