Cron expression for every Thursday

ExamplesPlanner

The cron expression to run a job every Thursday at midnight is 0 0 * * 4. See the next executions and copy it for crontab, Kubernetes, or GitHub Actions.

Paste an expression or choose a starting schedule below.

Select a field to edit it.

Start with:
Add to planner

Schedule summary

At 12:00 AM, only on Thursday
Build a schedule

Run time in UTC. Change the timezone in Upcoming runs.

Run on these days

Valid changes update the expression above immediately.

Upcoming runs

The next 50 runs, shown in the schedule timezone and your local time.

Calculating…

About 0 0 * * 4

0 0 * * 4 runs weekly at midnight on Thursday. The last field is the day of week, where 0 is Sunday and 6 is Saturday — Thursday is 4.

Cron reads the five fields as minute hour day month weekday. For this schedule that breaks down as:

FieldPositionMatches
0minute0
0hour0
*day of monthevery day
*monthevery month
4day of weekThursday

New to cron? Read the syntax reference or the FAQ.

Use it in crontab or GitHub Actions

The snippets below use UTC. The crontab timezone setting requires a compatible daemon such as Cronie. GitHub Actions defaults to UTC and accepts a timezone on each schedule. For other timezones, Kubernetes, EventBridge Scheduler, or Vercel, use the export menu in the calculator above.

crontab

# At 12:00 AM, only on Thursday
# CRON_TZ requires a cron implementation that supports it, such as Cronie.
CRON_TZ=UTC
0 0 * * 4 /path/to/command

GitHub Actions workflow

# At 12:00 AM, only on Thursday
on:
  schedule:
    - cron: '0 0 * * 4'
      timezone: "UTC"

Weekly schedules

Build a custom cron expression →