Cron Expression for Every Friday at 5 PM

0 17 * * 5

At 05:00 PM, only on Friday. Weekly summaries sent at the end of the working week.

Field-by-field breakdown

FieldValueAllowed rangeMeaning
Minute00–59at minute 0
Hour170–23at hour 17
Day of month*1–31every day of the month
Month*1–12every month
Day of week50–6 (Sunday = 0)on Friday

Next 5 runs (your time zone)

Calculating upcoming runs…

Cron uses the time zone of the machine or scheduler that runs it, which is often UTC on servers.

How to use this schedule

crontab

0 17 * * 5 /path/to/script.sh >> /var/log/job.log 2>&1

Kubernetes CronJob

apiVersion: batch/v1
kind: CronJob
metadata:
  name: my-job
spec:
  schedule: "0 17 * * 5"
  jobTemplate:
    spec:
      template:
        spec:
          containers:
            - name: my-job
              image: busybox
              command: ["sh", "-c", "echo running"]
          restartPolicy: OnFailure

GitHub Actions

on:
  schedule:
    - cron: '0 17 * * 5'  # UTC

Frequently Asked Questions

What is the cron expression for every friday at 5 pm?

Use "0 17 * * 5". In plain English: At 05:00 PM, only on Friday.

What does "0 17 * * 5" mean?

Minute: at minute 0; Hour: at hour 17; Day of month: every day of the month; Month: every month; Day of week: on Friday.