Skip to content
Unix cron100% Client-Side

Cron Expression for Every Tuesday at Noon

0 12 * * 2At 12:00 PM, only on Tuesday

The Unix cron expression "0 12 * * 2" runs a task every tuesday at noon. Preview the next run times in your timezone, read the plain-English translation, and copy ready-to-paste snippets for crontab, Node.js, GitHub Actions, and AWS EventBridge.

Live playground

  • Min0
  • Hour12
  • DOM*
  • Month*
  • DOW2

At 12:00 PM, only on Tuesday

Unix cron · evaluated in UTC

24-hour view

Hover a highlighted hour for precise timestamps. Showing the next 50 executions.

Upcoming runs

Timezone

Runs are simulated in the selected IANA timezone. Auto-detected from your browser on first load.

Field breakdown

How each field of 0 12 * * 2 is interpreted in the Unix cron format.

Field breakdown of 0 12 * * 2
FieldValueAllowedStatus
Minute00-59Valid
Hour120-23Valid
Day of Month*1-31Valid
Month*1-12 or JAN-DECValid
Day of Week20-7 or SUN-SAT (0 and 7 = SUN)Valid

Use “0 12 * * 2” in real code

Copy-paste configurations for the most common schedulers, converted to each platform’s dialect where needed.

import cron from 'node-cron';

cron.schedule('0 12 * * 2', () => {
  console.log('Running task...');
});

Running “0 12 * * 2” in production

Tuesday noon: the release-train slot the industry standardized

0 12 * * 2 fires every Tuesday at noon, and its cultural weight exceeds its 52 annual fires: Tuesday is the industry's change day. Microsoft's Patch Tuesday (the second Tuesday of the month) anchored OS security updates to it, mobile vendors shipped store releases mid-week, and SaaS release trains converged on Tuesday because it maximizes staffed hours for both the deploy and the response — early-week enough to fix with days remaining, late enough that Monday's chaos has settled. Noon sits inside every major timezone's business day in sequence: Tuesday 12:00 UTC is Tuesday evening in Asia, morning in Europe, and early morning on the US East Coast — a release window that touches each region during staffed hours across the day.

The tenants of the weekly Tuesday-noon slot reflect that: deployment trains and announcement bots that post release notes, weekly sprint-midpoint digests, certificate and dependency update batches timed to land when reviewers are at their desks, and the Patch Tuesday-adjacent automation — staging rings that promote on Tuesday after Microsoft's Monday-night advisories. The day field is 2 under cron's 0 = Sunday numbering (Tuesday is the third listed day but the number 2 — the off-by-one this directory's FAQ entries keep flattening), and noon's timezone caveat is the standing one: on a UTC server, 'noon' is noon in UTC, and regional teams experience it as 8 AM or 9 PM — per-zone schedules or send-layer logic for anything audience-facing.

The second-Tuesday problem: cron's missing ordinals

The schedule most people arrive here wanting — Patch Tuesday, the second Tuesday of the month — is not expressible in five-field cron: the grammar has day lists (2) and ranges (2-4) but no 'nth occurrence' operator. The portable answer is the weekly pulse plus a job-side date check: fire every Tuesday (this recipe) and exit unless day-of-month is between 8 and 14, which selects exactly the second Tuesday. The pattern costs four lines of code, is trivially testable, and keeps the crontab declarative — the same shape as this directory's month-end-guard recipe, which uses the identical 'cron proposes, code disposes' structure.

Dialects that carry ordinals natively: Quartz's # operator — 3#2 (3 = Tuesday in its 1 = SUN numbering) fires the second Tuesday directly, and this directory's Quartz recipes document the numbering trap in detail. EventBridge and Salesforce follow Quartz-style fields but (in EventBridge's case) omit #, so AWS schedules fall back to the guard pattern or a Step Functions calendar check. Plain cron's answer remains the check — and the check's advantage is portability: the same four lines work on the Linux box, the container, and the CI scheduler, while every dialect-native form is a porting decision.

Frequently asked questions

What does the cron expression "0 12 * * 2" mean?

"0 12 * * 2" is a Unix cron expression that means: At 12:00 PM, only on Tuesday. It contains 5 fields — Minute (0), Hour (12), Day of Month (*), Month (*), Day of Week (2) — and works in any scheduler that accepts the Unix cron format.

How does "0 12 * * 2" behave in UTC versus local time?

The classic cron daemon interprets every field in the machine's local timezone (from /etc/timezone or the TZ environment variable). If the server runs in UTC the schedule fires in UTC; otherwise shift the hours accordingly. Modern cronie also supports CRON_TZ to pin a single job to UTC.

Can I combine "0 12 * * 2" with holidays or blackout dates?

Standard cron has no holiday awareness. The common pattern is to keep the schedule as-is and guard the job: check a holiday calendar when the run starts and exit early on excluded days. That keeps the schedule declarative while your code owns the policy.

Is Tuesday 2 or 3 in cron's day-of-week field?

Tuesday is 2, under the 0 = Sunday convention (0/7 Sunday, 1 Monday, 2 Tuesday, 3 Wednesday, 4 Thursday, 5 Friday, 6 Saturday). The 'third day of the work week' intuition pushes people to 3, which is Wednesday — the classic off-by-one. Write 0 12 * * 2 for Tuesday noon, or use names where the dialect allows (TUE in cronie, EventBridge, and Celery) and let the parser do the counting.

How do I run a job only on Patch Tuesday (the second Tuesday of the month)?

Five-field cron has no nth-weekday operator, so schedule weekly — 0 12 * * 2 — and have the job exit unless the date is between the 8th and the 14th, which is exactly the second Tuesday's window. Quartz is the dialect with native support: 0 0 12 ? * 3#2 (3 = Tuesday in Quartz's 1 = SUN numbering, #2 = second occurrence). EventBridge lacks #, so AWS users use the job-side check or a Step Functions calendar. Either way, log the exits — a schedule that silently no-ops three Tuesdays a month should read as intentional in its own logs.

About the “0 12 * * 2” schedule

0 12 * * 2 is the Unix cron way to say “At 12:00 PM, only on Tuesday”. The simulator above evaluates it entirely in your browser — the timeline, the next-run table, and the timezone switcher all run client-side, so you can paste production schedules without them ever leaving your machine.

Every page in this directory follows the same structure: a plain-English translation, a per-field breakdown, platform-specific snippets, and a timezone-aware simulator. Move between the related intervals below to compare dialects, and validate one final time in the simulator with your own timezone before shipping.

Adjacent intervals and the same schedules expressed for other platforms.