Skip to content
Unix cron100% Client-Side

Cron Expression for Every Even Minute

0-59/2 * * * *Every 2 minutes, minutes 0 through 59 past the hour

The Unix cron expression "0-59/2 * * * *" runs a task every even minute. 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-59/2
  • Hour*
  • DOM*
  • Month*
  • DOW*

Every 2 minutes, minutes 0 through 59 past the hour

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

Field breakdown of 0-59/2 * * * *
FieldValueAllowedStatus
Minute0-59/20-59Valid
Hour*0-23Valid
Day of Month*1-31Valid
Month*1-12 or JAN-DECValid
Day of Week*0-7 or SUN-SAT (0 and 7 = SUN)Valid

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

Running “0-59/2 * * * *” in production

0-59/2 versus */2: what the explicit range teaches

Functionally these two expressions are the same schedule: */2 in the minute field is defined as 'start at the field minimum (0), step by 2', producing 0, 2, 4, …, 58 — thirty fires per hour, 720 per day — which is exactly what 0-59/2 enumerates. So why write the range form? Because it documents the anchor. A reader meeting */2 must recall that steps anchor at zero; a reader meeting 0-59/2 sees the anchor written down. The explicit form also generalizes to the schedule */2 cannot express: 1-59/2 fires every odd minute (:01, :03, …, :59) — there is no star form for odd minutes, because */N is hardwired to the range minimum.

That asymmetry is the real lesson of this page: the range-with-step is cron's general tool for phase control, and the star form is just its zero-anchored special case. Once internalized, the whole family reads mechanically: 0-59/5 is */5; 3-59/5 is the every-five-minutes-at-:03 pattern; 0-58/2 and 1-59/2 interleave to cover every minute from two independent jobs without collision. Any two of these even/odd partners can share a target safely — the classic pairing when migrating a poller with zero downtime: run the new job on odd minutes, retire the old one from even minutes, and the two never overlap.

The load profile of 30 fires per hour

Every-even-minute is half of every-minute, and inherits half its problems. 720 executions a day leave a job's own startup cost as the dominant expense: 400 milliseconds of process spawn per run is nearly five hours of daily CPU before any real work happens. The residents that justify the cadence are the same small, stateless pollers that justify * * * * * — heartbeats, queue peeks, watchdog checks — with the addition of one genuinely useful pattern: splitting a former every-minute job across two instances, one taking even minutes and one odd, to halve per-node load without changing anyone's freshness guarantees.

Operationally, guard the same four edges as the minute-level recipes: a distributed lock so one node in a fleet wins each fire, a runtime cap well under two minutes so a wedged run cannot collide with its next slot, duration alerting because at this cadence slowness equals outage, and the knowledge that cron skips (never queues) a fire that lands while the previous run is still executing — a 90-second job on even minutes effectively becomes a 90-second job on a three-minute schedule. The next-run table above shows the skip-free ideal; your runtime metrics show reality.

Frequently asked questions

What does the cron expression "0-59/2 * * * *" mean?

"0-59/2 * * * *" is a Unix cron expression that means: Every 2 minutes, minutes 0 through 59 past the hour. It contains 5 fields — Minute (0-59/2), Hour (*), Day of Month (*), Month (*), Day of Week (*) — and works in any scheduler that accepts the Unix cron format.

How does "0-59/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.

How do I test "0-59/2 * * * *" on a Linux server?

Add it with crontab -e, save, and watch the log: /var/log/syslog on Debian/Ubuntu or /var/log/cron on RHEL-family systems shows every firing. For a dry run without touching your crontab, use the simulator at the top of this page — it computes the next runs locally in your browser.

How do I run a cron job every odd minute?

1-59/2 * * * * — start at minute 1 and step by 2, yielding :01, :03, :05, …, :59. The star form cannot express this: */2 is defined to anchor at 0, and cron has no 'offset the anchor' operator other than writing the explicit range. This even/odd pairing is also a zero-overlap migration tool: old job on 0-59/2, new job on 1-59/2, and the two schedules never share a minute.

Is there any difference between 0-59/2 and */2?

None — both fire at every even minute, 30 times per hour. */2 is shorthand whose definition ('step from the field minimum') makes it identical to 0-59/2 by construction. The explicit range earns its verbosity only when the anchor moves (1-59/2, 4-59/2) or when you want the phase documented for the next reader. Semantically they are one schedule written twice; pick per crontab, not per mixed convention.

About the “0-59/2 * * * *” schedule

0-59/2 * * * * is the Unix cron way to say “Every 2 minutes, minutes 0 through 59 past the 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.