Skip to content
Unix cron100% Client-Side

Cron Expression for Every Sunday at Noon

0 12 * * 0At 12:00 PM, only on Sunday

The Unix cron expression "0 12 * * 0" runs a task every sunday 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*
  • DOW0

At 12:00 PM, only on Sunday

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 * * 0 is interpreted in the Unix cron format.

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

Use “0 12 * * 0” 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 * * 0', () => {
  console.log('Running task...');
});

Running “0 12 * * 0” in production

Sunday noon: the weekly reset before the week begins

0 12 * * 0 fires once a week, Sunday at midday — the slot for the weekly reset: pre-Monday full backups taken while the week's data is complete but Monday's changes have not started, 'week ahead' preparation jobs (board snapshots, calendar digests, sprint-setup automation), leaderboard and quota resets keyed to the calendar week, newsletter and digest generation, and the weekly archives that pair with daily incrementals. Noon rather than midnight because the outputs are for humans: a Sunday-noon report lands during the quiet afternoon when someone might actually read it, and pre-Monday automation gets twelve hours of runway before the week's traffic begins.

The day field is 0 — Sunday, with 7 as the widely-supported alias — and the expression 0 12 * * 0 is the canonical spelling. One integration note bites teams mixing cron with ISO-week logic: ISO 8601 defines weeks as Monday-started (Sunday is day 7), while cron's field is Sunday-anchored (0). A job on 0 12 * * 0 that also computes 'current ISO week' inside its logic is mixing two conventions whose boundaries differ by twelve hours — the Sunday-noon fire belongs to ISO week N's end and ISO week N+1's eve, depending on which edge you ask. Pin the convention in the job, not in the crontab, and the ambiguity stays documentation-level rather than becoming a data-key bug.

Weekly-on-Sunday in production: pairing, alerting, and dialects

The schedule composes best as the calm anchor of a weekly pair: Sunday noon prepares (backups, snapshots, digests), Monday 9 AM announces (0 9 * * 1 — this directory's Monday recipe) — the twelve-hour gap is deliberate, giving the prep jobs a full margin before anything consumer-facing fires. The alerting posture for weekly jobs mirrors its failure economics: a missed weekly fire is invisible for seven days by default, so success alerting (heartbeat must advance every seven days) beats failure alerting, and reruns must be idempotent because the manual catch-up — 'just run it now' on Monday — is how teams actually recover.

Dialect translation shifts the number, not the shape: EventBridge cron(0 12 ? * SUN *) and Celery's day_of_week='sunday' sidestep numbering with names; Quartz numbers Sunday 1 (0 0 12 ? * 1), the inverse of cron's 0; systemd writes OnCalendar=Sun *-*-* 12:00:00. The five-field 0 above is the portable core. One more platform note: GitHub Actions schedules in UTC only and disables on repository inactivity — a Sunday-noon-UTC workflow in a quiet repo will silently stop, which makes it the wrong home for anything weekly and load-bearing; the cron-on-a-server pattern remains the dependable choice.

Frequently asked questions

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

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

How does "0 12 * * 0" 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 * * 0" 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 Sunday 0 or 7 in cron?

Both, in most implementations: 0 is the canonical spelling and 7 is a widely-supported alias — 0 12 * * 0 and 0 12 * * 7 fire identically. Do not mix them in one field: 0,7 lists Sunday twice (harmless but confusing). The real trap is cross-dialect: Quartz numbers 1 = SUN through 7 = SAT, so cron's 0 (Sunday) becomes Quartz's 1, and cron's 1 (Monday) becomes Quartz's 2 — translate weekly schedules through day names, never raw numbers.

What should run on Sunday at noon versus midnight?

Noon when the output is for people — weekly digests, pre-Monday reports, reset confirmations someone should eyeball. Midnight when the work is for machines — heavy full backups, replica rebuilds, batch migrations that benefit from the deepest quiet window. The pairing works because the slots are twelve hours apart: midnight does the heavy lifting invisibly, noon produces the summary a human checks, and Monday morning finds both complete.

About the “0 12 * * 0” schedule

0 12 * * 0 is the Unix cron way to say “At 12:00 PM, only on Sunday”. 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.