DD
DevDash

Cron Expression: Weekly cleanup on Sunday at 3:00 AM

Cron Expression

0 3 * * 0

Weekly cleanup on Sunday at 3:00 AM

Click the expression to select it, then copy.

Quick Answer

The cron expression for "weekly cleanup on sunday at 3:00 am" is `0 3 * * 0`. 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
Hour3At hour 3
Day of Month*Every day of month
Month*Every month
Day of Week0At day of week 0

Common Use Cases

  • Temp file removal
  • Database vacuum
  • Storage cleanup

How to Use This Expression

Vercel Cron Jobs

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

GitHub Actions

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

Linux crontab

0 3 * * 0 /path/to/your-command.sh

Frequently Asked Questions

Related Cron Expressions

Want API access + no ads? Pro coming soon.