DD
DevDash

Cron Expression: At the end of every month at midnight (28th-31st)

Cron Expression

0 0 28-31 * *

At the end of every month at midnight (28th-31st)

Click the expression to select it, then copy.

Quick Answer

The cron expression for "at the end of every month at midnight (28th-31st)" is `0 0 28-31 * *`. 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 Month28-31Between day of month range: 28-31
Month*Every month
Day of Week*Every day of week

Common Use Cases

  • Month-end reconciliation
  • Monthly close-out
  • Statement generation

How to Use This Expression

Vercel Cron Jobs

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

GitHub Actions

# .github/workflows/scheduled.yml
on:
  schedule:
    - cron: '0 0 28-31 * *'

Linux crontab

0 0 28-31 * * /path/to/your-command.sh

Frequently Asked Questions

Related Cron Expressions

Want API access + no ads? Pro coming soon.