DD
DevDash

Cron Expression: Every weekend day (Saturday and Sunday) at midnight

Cron Expression

0 0 * * 0,6

Every weekend day (Saturday and Sunday) at midnight

Click the expression to select it, then copy.

Quick Answer

The cron expression for "every weekend day (saturday and sunday) at midnight" is `0 0 * * 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
Minute0At minute 0
Hour0At hour 0
Day of Month*Every day of month
Month*Every month
Day of Week0,6At day of week values: 0,6

Common Use Cases

  • Weekend-only maintenance
  • Large batch jobs
  • System upgrades

How to Use This Expression

Vercel Cron Jobs

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

GitHub Actions

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

Linux crontab

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

Frequently Asked Questions

Related Cron Expressions

Want API access + no ads? Pro coming soon.