Run Weekly Saturday Maintenance | CronBase

cron expression Standard
$ 0 3 * * 6

Every Saturday morning at three o'clock

The `0 3 * * 6` cron expression schedules a task to run weekly every Saturday morning at exactly 3:00 AM. This weekend timing is highly popular for resource-intensive jobs like database optimizations, full system backups, and batch reporting, as it minimizes performance impact on standard business-hour operations.

Minute
0
Hour
3
Day of Month
*
Month
*
Day of Week
6
How it works

Next 5 Runs

  • in 6d 6h
  • in 13d 6h
  • in 20d 6h
  • in 27d 6h
  • in 34d 6h

* Tools

Code & Implementations

Bash
#!/bin/bash\n# Script to install the weekly Saturday 3 AM cron job safely\nCRON_JOB=\"0 3 * * 6 /usr/local/bin/weekly-backup.sh >> /var/log/backup.log 2>&1\"\n(crontab -l 2>/dev/null | grep -Fq \"$CRON_JOB\") || (crontab -l 2>/dev/null; echo \"$CRON_JOB\") | crontab -\necho \"Successfully registered Saturday weekly maintenance task.\"
Setup notes

Save the script to a file, make it executable using 'chmod +x', and run it to register the backup schedule in the current user's crontab.

Last verified:

Partner UptimeRobot

Keep this cron job monitored 24/7

UptimeRobot alerts you the moment a scheduled job stops responding. Free plan monitors up to 50 endpoints — no credit card required.

Platform Equivalents

AWS EventBridge

Standard cron expressions often need conversion for AWS EventBridge schedules.

EventBridge Rule
cron(0 3 ? * 6 *)

Systemd Timer

OnCalendarSat *-*-* 03:00:00

my-task.timer
[Unit]
Description=Timer for cron expression: 0 3 * * 6

[Timer]
OnCalendar=Sat *-*-* 03:00:00
Persistent=true

[Install]
WantedBy=timers.target

Last verified:

Frequently Asked Questions

How does Daylight Saving Time affect this Saturday 3 AM schedule?

Depending on your local timezone, the transition to or from Daylight Saving Time can cause this job to execute twice or skip entirely. Running your servers on UTC prevents this variance completely.

Can I run this on both Saturday and Sunday at the same time?

Yes, you can modify the day-of-week field to include Sunday. In standard cron, the expression `0 3 * * 6,0` (or `6,7` depending on environment) will run at 3:00 AM on both weekend days.

What happens if the host server is offline at Saturday 3:00 AM?

Standard cron daemons will not retroactively run missed jobs once the server boots back up. If you require execution recovery, consider using anacron or systemd timers with persistent storage enabled.

How should I monitor a weekly job to ensure it actually executed?

Because this job runs weekly, passive monitoring is risky. Use active heartbeat monitoring (like Uptime Kuma or Cronitor) where the job sends a ping upon completion, alerting you if no ping is received.

Is it safe to run heavy database vacuuming at this specific time?

Yes, Saturday at 3:00 AM is generally the lowest traffic window for most business systems. However, ensure that backup processes do not overlap with vacuuming to avoid severe disk I/O bottlenecks.

* Explore

Related expressions you might need

Last verified:

Was this helpful?