Cron expression: every Saturday at midnight
0 0 * * 6
Runs once a week, on Saturday at 00:00.
What each field means
| Field | Value | Meaning |
|---|---|---|
| minute | 0 | minute 0 |
| hour | 0 | hour 0 |
| day of month | * | every day of month |
| month | * | every month |
| day of week | 6 | day of week 6 |
Next runs
Starting from 1 January 2026, 00:00 UTC:
- Saturday 3 Jan 00:00
- Saturday 10 Jan 00:00
- Saturday 17 Jan 00:00
- Saturday 24 Jan 00:00
- Saturday 31 Jan 00:00
- Saturday 7 Feb 00:00
Things to watch
Weekly jobs at midnight on a single day are a good fit for reports and cleanups. Add a few minutes of offset if several weekly jobs would otherwise start simultaneously.
Saturday carries most of the benefit of a weekend slot with slightly less of the risk than Sunday: traffic is low enough for heavy work, and a failure still has Sunday before the week restarts. It is the better of the two weekend days for anything whose output Monday depends on, because there is a whole day left to retry.
Whichever day you pick, check the field itself: cron numbers the week from 0 for Sunday, and both 0 and 7 are usually accepted for it. A job firing a day early or a day late is almost always an off-by-one here — writing 1 for Sunday out of habit gives you Monday.
The same schedule elsewhere
# crontab
0 0 * * 6 /usr/local/bin/my-job >> /var/log/my-job.log 2>&1
# GitHub Actions (.github/workflows/job.yml) — always UTC
on:
schedule:
- cron: '0 0 * * 6'
# Kubernetes CronJob
spec:
schedule: "0 0 * * 6"
# AWS EventBridge — six fields, and ? in one of the day fields
cron(0 0 ? * 6 *)
Frequently asked questions
What is the cron expression to run a job every Saturday at midnight?
0 0 * * 6 — Runs once a week, on Saturday at 00:00.
Which time zone does cron use?
The server's local time zone, unless the scheduler says otherwise. GitHub Actions always uses UTC. Kubernetes CronJobs use UTC unless you set spec.timeZone. Running servers in UTC and converting only for display avoids an entire class of daylight-saving bugs.
What happens if the previous run is still going?
Standard cron starts a new one regardless, so long-running jobs can pile up. Wrap the command in flock -n /var/lock/my-job.lock, or set concurrencyPolicy: Forbid on a Kubernetes CronJob.
Why did my cron job not run at all?
The three usual causes: the script is not executable, the command relies on a PATH or environment variable that cron does not set, or output went nowhere because no mail transport is configured. Redirect stdout and stderr to a log file and the reason usually becomes obvious.
Other schedules
- on the first day of every month
- every month
- every quarter
- every year
- on the 15th of every month
- twice a day
- every hour during business hours
- every minute
- every 2 minutes
- every 3 minutes
- every 4 minutes
- every 5 minutes
- every 6 minutes
- every 10 minutes
- every 12 minutes
- every 15 minutes
- every 20 minutes
- every 30 minutes
- every hour
- every 2 hours