Cron Every Friday

Configure a cron job to run every Friday at midnight using 0 0 * * 5. Detailed field breakdown, end-of-week use cases, and scheduling guidance.

Cron Expression

0 0 * * 5

Field Breakdown

FieldValueMeaning
Minute0At 0
Hour0At 0
Day of Month*Every day of the month (1–31)
Month*Every month (1–12)
Day of Week5At Friday

Detailed Explanation

The cron expression 0 0 * * 5 schedules a task to run once per week, every Friday at midnight.

Field-by-field breakdown:

  • 0 (Minute): At minute 0. The task fires at the start of the hour.
  • 0 (Hour): At hour 0 (midnight). The task runs at the beginning of Friday.
  • * (Day of Month): Every day from 1 through 31. No restriction on the day of the month.
  • * (Month): Every month from January through December. No restriction on the month.
  • 5 (Day of Week): Friday only. In standard cron, 5 represents Friday.

This means your task will execute once per week at the start of Friday. Friday scheduling is ideal for end-of-week summaries, pre-weekend backups, and weekly cleanup jobs. Many teams use Friday cron jobs to generate weekly status reports or prepare data exports that will be reviewed at the start of the following week. If you need the job to run at the end of the business day instead, consider using 0 17 * * 5 for Friday at 5 PM. This expression is supported by standard cron on Linux/macOS, as well as cloud services like AWS CloudWatch, Google Cloud Scheduler, and GitHub Actions.

Use Case

Perfect for generating weekly project status reports and distributing them to stakeholders before the weekend begins.

Try It — Interactive Builder

Every Friday at 12:00 AM

**/5*/10*/15*/300
**/2*/3*/6*/120
*1151,15*/2
*11,4,7,101,7
*1-50,615

Next 10 Executions

1.Fri, Mar 20, 2026, 12:00 AM
2.Fri, Mar 27, 2026, 12:00 AM
3.Fri, Apr 3, 2026, 12:00 AM
4.Fri, Apr 10, 2026, 12:00 AM
5.Fri, Apr 17, 2026, 12:00 AM
6.Fri, Apr 24, 2026, 12:00 AM
7.Fri, May 1, 2026, 12:00 AM
8.Fri, May 8, 2026, 12:00 AM
9.Fri, May 15, 2026, 12:00 AM
10.Fri, May 22, 2026, 12:00 AM

Ctrl+Shift+C to copy expression

Customize this expression