Cron every Tuesday at midnight: the expression, explained, in Linux crontab

The cron expression for “every Tuesday at midnight” is 0 0 * * 2. This page shows what each field does, the next five times it will fire, the mistake most people make with it, and a working Linux crontab example you can paste.

The expression

0 0 * * 2
FieldValueMeaning
minute0exactly 0
hour0exactly 0
day of month*every day of month
month*every month
day of week2Tuesday only

Next five runs (UTC, from now)

  1. 2026-09-22 00:00 UTC
  2. 2026-09-29 00:00 UTC
  3. 2026-10-06 00:00 UTC
  4. 2026-10-13 00:00 UTC
  5. 2026-10-20 00:00 UTC

Mistakes people make with this schedule

  • Filling both day-of-month and day-of-week. In classic cron they combine with OR, so "0 0 1 * 2" runs on the 1st and on every Tuesday.
  • Assuming the server clock is your clock. Cron runs in the machine’s timezone unless the runtime says otherwise; the examples here are UTC.
  • No lock around a job that might overlap itself, and no alert when it silently stops. That second one is what Supercrontab is for.

Run it in your stack

# crontab -e
0 0 * * 2 /usr/bin/curl -fsS https://example.com/cron/run > /dev/null

Lines run under the user’s crontab in the system timezone. Redirect output or cron will email it to you.

Questions

Does 0 0 * * 2 run in my local time?

Only if the scheduler is configured for it. crontab uses the system timezone; Vercel and GitHub Actions always use UTC; Laravel and node-cron take a timezone option. In Supercrontab the timezone is a field on the job.

What if the previous run is still going?

Classic cron starts the next run anyway. Add a lock (flock on Linux, withoutOverlapping() in Laravel) or let Supercrontab skip the tick while the previous request is open.

Is there a shorter way to write this?

No. The five-field form is the shortest portable version.