Cron Every Weekend at Midnight

0 0 * * 0,6

Every Saturday and Sunday at 12:00 AM

Next 10 Executions

Times shown in UTC

  • Sat, May 23, 202600:00
  • Sun, May 24, 202600:00
  • Sat, May 30, 202600:00
  • Sun, May 31, 202600:00
  • Sat, Jun 6, 202600:00
  • Sun, Jun 7, 202600:00
  • Sat, Jun 13, 202600:00
  • Sun, Jun 14, 202600:00
  • Sat, Jun 20, 202600:00
  • Sun, Jun 21, 202600:00

Field Breakdown

0
Minute
0
0
Hour
0
*
Day of Month
Every day
*
Month
Every month
0,6
Day of Week
Sun, Sat

About This Schedule

The cron expression 0 0 * * 0,6 fires at midnight on both Saturday and Sunday. The list 0,6 in the day-of-week field specifies Sunday (0) and Saturday (6).

Weekend midnight schedules are used for maintenance tasks that shouldn't impact weekday operations: database optimization, full backups, large data migrations, storage cleanup, and extended health checks. Running at midnight gives the maximum overnight window for completion.

To run on just one weekend day, use 0 0 * * 6 (Saturday only) or 0 0 * * 0 (Sunday only). For a different time, change the hour: 0 8 * * 0,6 runs at 8 AM on weekends.

Frequently Asked Questions