Skip to content
Unix cron100% Client-Side

Cron Expression for Every 4 Hours Starting at :30

30 */4 * * *At 30 minutes past the hour, every 4 hours

The Unix cron expression "30 */4 * * *" runs a task every 4 hours starting at :30. 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

  • Min30
  • Hour*/4
  • DOM*
  • Month*
  • DOW*

At 30 minutes past the hour, every 4 hours

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

Field breakdown of 30 */4 * * *
FieldValueAllowedStatus
Minute300-59Valid
Hour*/40-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 “30 */4 * * *” 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('30 */4 * * *', () => {
  console.log('Running task...');
});

Running “30 */4 * * *” in production

Why 30 */4 beats */4 for shared infrastructure

The two expressions fire six times a day at the same interval, but on different minutes: 0 */4 * * * lands exactly on 00:00, 04:00, 08:00, 12:00, 16:00, and 20:00 — the same six instants every other four-hourly job on the planet uses, because */4 in the hour field means 'start at 0, step by 4'. Adding the explicit minute — 30 */4 * * * — slides the whole schedule to 00:30, 04:30, 08:30, 12:30, 16:30, 20:30 without changing the interval. On any shared target, that thirty-minute offset is the entire point: database maintenance windows, API rate limits, and upstream service restarts cluster on the hour and half-hour, and a poller that lands at :30 of every fourth hour collides with none of them by construction rather than by luck.

The offset also buys diagnostic clarity. When a four-hourly job fires at the top of the hour, its execution is confounded with every hourly, half-hourly, and quarter-hourly job in the fleet — log volume spikes, connection pools saturate, and slow runs are indistinguishable from slow neighbors. Move the job to :30 and its logs occupy a quiet band; latency and error traces for that window belong to one job, not a herd. The cost is equally real and worth stating: the schedule is now surprising — a reader scanning the crontab sees 30 in the minute field and must know that 30 */4 means 'every fourth hour at half past', not 'at 30 minutes past some other interval'. One comment in the crontab settles it; the plain-English translation above is generated from the expression, so what you see there is exactly what the daemon computed.

Every four hours on other schedulers: systemd, Kubernetes, and EventBridge forms

The same six-fires-a-day cadence translates directly. systemd expresses it as OnCalendar=*-*-* 00/4:30:00 — the 00/4 hour repetition carries the every-four-hours semantics, and the :30 keeps the offset; systemctl list-timers shows the next transitions. Kubernetes CronJobs accept the cron syntax verbatim — schedule: "30 */4 * * *" — and, since 1.27, a timeZone field, which matters at this cadence because six fires a day in UTC drift visibly against a local business day when the offset between them is not a multiple of four hours. AWS EventBridge needs the six-field form with '?' in one day field: cron(30 */4 * * ? *), evaluated in UTC, with the year field trailing. Quartz is the trap: its step in the hour field counts the same way, but its seconds field comes first — 0 30 0 */4 * ? — and forgetting the leading seconds zero or misplacing the mandatory '?' between the two day fields is the most common porting error.

Operational notes specific to a six-fire cadence: it is short enough that a failed run self-heals within four hours and rare enough that each run should be worth alerting on — the right monitoring posture is a heartbeat check (did the job's last-run timestamp advance past two intervals?) rather than per-run alarms. The interval is also longer than most default timeouts, so a hung run overlaps its successor exactly once before anyone notices; set concurrencyPolicy: Forbid in Kubernetes or use a lockfile in plain cron to make the overlap impossible rather than merely unlikely. The simulator above shows the next fires in your timezone — paste the expression and confirm the :30 phase lands where your infrastructure expects it.

Frequently asked questions

What does the cron expression "30 */4 * * *" mean?

"30 */4 * * *" is a Unix cron expression that means: At 30 minutes past the hour, every 4 hours. It contains 5 fields — Minute (30), Hour (*/4), Day of Month (*), Month (*), Day of Week (*) — and works in any scheduler that accepts the Unix cron format.

How does "30 */4 * * *" 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 "30 */4 * * *" 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.

What times does 30 */4 * * * actually fire?

At half past every fourth hour: 00:30, 04:30, 08:30, 12:30, 16:30, and 20:30 — six runs per day. The hour field */4 selects hours 0, 4, 8, 12, 16, 20 (starting at 0 and stepping by 4), and the minute field 30 pins each fire to half past. The schedule repeats in the daemon's timezone — UTC on most servers, local time where the crontab or Kubernetes timeZone field says otherwise — so the wall-clock times shift with the zone. The next-run table above is computed from the same field logic the daemon uses, so the six timestamps shown are exactly the ones a Linux crontab will honor.

How do I run a job every 4 hours starting at a different minute?

Pin the minute and keep the step form in the hour field: <minute> */4 * * * — so 15 */4 * * * fires at quarter past every fourth hour (00:15, 04:15, 08:15, …) and 30 */4 * * * at half past. To offset which hours the cycle lands on rather than the minutes, give the hour field a range with a step: 0 1-23/4 * * * starts the cycle at 01:00 and fires at 01:00, 05:00, 09:00, 13:00, 17:00, and 21:00. Both forms are standard five-field cron, and the every-2-hours-offset recipe in this directory shows the same technique at a different cadence — paste any variant into the simulator above and the field table and next-run list confirm the times it will actually fire.

About the “30 */4 * * *” schedule

30 */4 * * * is the Unix cron way to say “At 30 minutes past the hour, every 4 hours”. 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.