Cron expression for every Tuesday

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

0minute
0hour
*day
*month
2weekday

In Plain English

What your cron expression actually means.

At 12:00 AM, only on Tuesday

Upcoming Executions

Preview the next 50 times this schedule will trigger.

Calculating…

About 0 0 * * 2

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

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
2day of weekTuesday

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

Use it in crontab or GitHub Actions

Both snippets are ready to paste. A crontab runs in the server's local timezone; GitHub Actions always evaluates schedules in UTC. For Kubernetes, AWS EventBridge, or Vercel, use the export menu in the calculator above.

crontab

# At 12:00 AM, only on Tuesday
0 0 * * 2 /path/to/command

GitHub Actions workflow

# At 12:00 AM, only on Tuesday
# Note: GitHub Actions always runs schedules in UTC.
on:
  schedule:
    - cron: '0 0 * * 2'

Weekly schedules

Build a custom cron expression →