Skip to content
AWS EventBridge100% Client-Side

Cron Expression for Every Hour (AWS EventBridge)

0 * * * ? *Every hour

The AWS EventBridge cron expression "0 * * * ? *" runs a task every hour (aws eventbridge). In an EventBridge rule you write it as cron(0 * * * ? *). 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
  • Hour*
  • DOM*
  • Month*
  • DOW?
  • Year*

Every hour

AWS EventBridge · 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 * * * ? * is interpreted in the AWS EventBridge format.

Field breakdown of 0 * * * ? *
FieldValueAllowedStatus
Minute00-59Valid
Hour*0-23Valid
Day of Month*1-31, L (last day), W (nearest weekday)Valid
Month*1-12 or JAN-DECValid
Day of Week?1-7 or SUN-SAT (1 = SUN)Valid
Year*1970-2199Valid

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

Running “0 * * * ? *” in production

Six fields, one question mark: the EventBridge grammar

cron(0 * * * ? *) is the hourly schedule in AWS EventBridge's six-field dialect: minute, hour, day-of-month, month, day-of-week, year — the classic five with a year field appended. The expression's one visible novelty is the ? in the day-of-week position, and it is mandatory grammar, not style: EventBridge requires that exactly one of the two day fields be ? whenever the other is constrained (or *), because AWS refuses to evaluate a rule whose day fields could both constrain — the ambiguity five-field cron resolves with an OR that surprises people. Every EventBridge cron in this directory carries one ?: in dom when dow is pinned, in dow when dom is pinned.

The dialect's other load-bearing rule is timezone: EventBridge evaluates all cron expressions in UTC — there is no per-rule timezone option, and the year field cannot help. An 'hourly' rule is therefore UTC-hourly: fire times align to UTC wall-clock, and a business-hours schedule for a specific region is a hand conversion (9 AM New York is hour 13 or 14 depending on DST, which a static expression cannot follow). For timezone-native schedules AWS's newer EventBridge Scheduler supports named timezones and DST — it is the recommended service when local-clock semantics matter, with EventBridge rules remaining the fit for UTC-anchored, event-bus-integrated schedules.

Hourly on AWS: rate expressions, targets, and the storm question

When wall-clock alignment is irrelevant — 'every hour' rather than 'on the hour' — EventBridge's rate expressions are the simpler spelling: rate(1 hour) fires every hour from rule creation, rate(1 day) daily, with minute-level minimum granularity. Choose cron form when the alignment matters (top-of-hour batch windows, UTC-midnight cutovers); choose rate when only the interval does. Either way the rule's targets define what 'fires' means: Lambda invocations (with cold starts — provisioned concurrency or SnapStart for latency-sensitive hourly work), SQS queue pushes, Step Functions executions for multi-step flows, and cross-account/event-bus fanouts, each with their own retry and DLQ policies that cron never had.

The thundering-herd question follows the rule to AWS: cron(0 * * * ? *) aligns to UTC top-of-hour alongside every other hourly rule in the region, and services with per-minute billing granularity see the synchronized spike. The offset trick ports directly — cron(15 * * * ? *) or any minute of your choosing — and EventBridge Scheduler adds flexible time windows with jitter out of the box. The simulator above computes the five-field core your expression wraps; the ? and year field are dialect spelling, and the UTC evaluation is the semantic difference worth internalizing before writing business-hours rules in this dialect.

Frequently asked questions

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

"0 * * * ? *" is an AWS EventBridge expression that means: Every hour. It contains 6 fields — Minute (0), Hour (*), Day of Month (*), Month (*), Day of Week (?), Year (*) — and works in any scheduler that accepts the AWS EventBridge format.

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

AWS EventBridge evaluates cron expressions in UTC only — there is no per-rule timezone setting. Convert your target local time, including daylight saving adjustments, to UTC when authoring the expression.

Is "0 * * * ? *" valid outside AWS EventBridge?

Not directly. Standard Unix cron expects 5 fields without '?', Quartz expects a leading seconds field, AWS EventBridge appends a year and requires '?' in one of the two day fields, and Salesforce System.schedule needs a leading seconds field with 1-based weekdays and an optional trailing year. The conversion snippets below show the equivalent expression for each platform.

Why does the EventBridge expression need the ? character?

AWS requires exactly one of the two day fields (day-of-month, day-of-week) to be ? — 'no specific value' — whenever the other is constrained, refusing rules where both day fields carry values because their combined semantics would be ambiguous. In cron(0 * * * ? *), dom is * and dow carries the ?, satisfying the rule. Writing * in both day fields is a validation error in EventBridge, unlike classic cron where both wildcards are legal.

Are EventBridge cron schedules always in UTC?

Yes — EventBridge rules evaluate cron expressions in UTC with no per-rule override, so cron(0 * * * ? *) fires at the top of every UTC hour regardless of where your users are. Business-local schedules need manual UTC conversion (which drifts with DST), or the newer EventBridge Scheduler, which supports named timezones and DST-aware schedules. For '9 AM in the office's timezone' requirements, Scheduler is the AWS-native answer; rules remain ideal for UTC-anchored automation.

About the “0 * * * ? *” schedule

0 * * * ? * is the AWS EventBridge way to say “Every hour”. 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.