Curated cron expression

Every Tuesday at 2 AM: 0 2 * * 2

0 2 * * 2 — weekly Tuesday night maintenance — day 2 is Tuesday.

Meaning at a glance

0 2 * * 2

Run every Tuesday at 02:00

Once weekly Tuesday 02:00.

Next-run example: On Wednesday, next run is next Tuesday 02:00.

How 0 2 * * 2 works

Single weekday with off-peak hour for patch windows.

Tuesday is common for non-disruptive maintenance.

Preview next runs and platform conversions in CronWizard before deploying to production.

Field breakdown for 0 2 * * 2
FieldValueMeaning
Minute0Configured as 0
Hour2Configured as 2
Day of month*Every value
Month*Every value
Day of week2Configured as 2

Good use cases

  • Patch Tuesday jobs
  • Weekly DB maintenance
  • Analytics recompute

Timezone and daylight-saving behavior

Maintenance window timezone should be documented.

2 AM is a DST risk hour in many zones.

The expression does not contain a timezone. The scheduler supplies that context. Use the next-run preview above in the same IANA timezone as production, then confirm the target platform's own timezone rules.

Platform compatibility and converted expressions

The source expression is five-field Unix cron. Use the exact equivalent below rather than adding or removing fields by sight.

Platform compatibility for 0 2 * * 2
PlatformStatusExpressionWhat to know
Unix crontabReady0 2 * * 2Use directly in a normal five-field user crontab.
Kubernetes CronJobReady0 2 * * 2Use as spec.schedule; set spec.timeZone when local wall-clock behavior matters.
GitHub ActionsReady0 2 * * 2Use under on.schedule; UTC is the default and an IANA timezone may be specified.
Vercel Cron JobsPlan / behavior limit0 2 * * 2The expression is valid, but Vercel always uses UTC and Hobby schedules run at most once per day.
AWS EventBridge SchedulerConvertcron(0 2 ? * 2 *)Convert to AWS minute-first cron(...), add the required year, and use ? in one day field.
Spring @ScheduledConvert0 0 2 * * 2Use Spring’s six fields by prepending seconds and set zone explicitly when needed.
systemd timerConvert0 2 * * 2Use OnCalendar syntax and validate it with systemd-analyze calendar on the target host.

Edge cases to check before deployment

  • 2 = Tuesday in Unix cron (0=Sunday).

Frequently asked questions

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

0 2 * * 2 means “run every tuesday at 02:00.” Once weekly Tuesday 02:00.

What are the next run times for 0 2 * * 2?

On Wednesday, next run is next Tuesday 02:00. Exact timestamps depend on the scheduler timezone and the current time.

What timezone does 0 2 * * 2 use?

Maintenance window timezone should be documented.

Can I use 0 2 * * 2 on every scheduling platform?

No. It is a five-field Unix expression. Some platforms accept it directly, while AWS EventBridge Scheduler, Spring, and systemd require the converted form shown in the compatibility table.