Cron for weekly jobs

Quick answer

0 0 * * 0 runs once a week at midnight on Sunday (day 0 in Unix cron). TryDevSnip explains it and previews the next fires locally — not uploaded to our servers for processing.

Cron expression: 0 0 * * 0

Weekly digests and cleanup jobs use this pattern. Some cron flavors treat both 0 and 7 as Sunday — the helper shows exactly when it fires.

Paste this cron expression into your crontab, or into the schedule field of whichever runner you use — the five-field syntax below is shared by cron, most CI schedulers, and container orchestrators. The sections that follow break the cron job down field by field and flag the timing edge cases that apply to this particular schedule.

What each field means here

A standard crontab line has five fields, read left to right. This is what each one is set to in0 0 * * 0:

FieldValueAllowed rangeMeaning here
Minute00–59At minute 0
Hour00–23At hour 0
Day of month*1–31Every day of the month
Month*1–12Every month
Day of week00–6 (Sunday = 0)Sunday

Before you ship this schedule

Using it outside a crontab

GitHub Actions and Kubernetes CronJob both accept this same five-field syntax, so the expression carries over unchanged — what changes is the clock it runs against:

WhereSame expression?Timezone
crontabYesHost timezone
GitHub ActionsYesAlways UTC
Kubernetes CronJobYesUTC unless timeZone is set

More schedules: monthly jobs · every 10 minutes · every 2 hours · twice a day · daily at noon · the first of the month · every 5 minutes · every 15 minutes · every 30 minutes · hourly · every 6 hours · every 12 hours · midnight · weekdays 9am · daily 2am · yearly · full cheat sheet

Frequently asked questions

What does 0 0 * * 0 mean?

0 0 * * 0 runs once a week at midnight on Sunday (day 0 in Unix cron). TryDevSnip explains it and previews the next fires locally — not uploaded to our servers for processing.

Are next run times in my local timezone?

Cron Helper previews next runs in your browser’s local timezone. Many production schedulers use UTC — always compare before changing live jobs.

Is my cron expression uploaded?

No. Explanation and next-run math run client-side on TryDevSnip. Expressions are not uploaded to our servers for processing.

TryDevSnip