Skip to content

*/30 * * * *

Every 30 Minutes (Half Hour) — Standard cron expression for half-hour intervals. View next execution times.

Next 5 executions (UTC)

Next 5 execution times in UTC for */30 * * * *
#Execution time (UTC)
12026-11-28 07:30 UTC
22026-11-28 08:00 UTC
32026-11-28 08:30 UTC
42026-11-28 09:00 UTC
52026-11-28 09:30 UTC
Edit & Simulate in Local Timezone

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

Half-hourly: the half-way house

*/30 * * * * fires twice an hour at :00 and :30 — 48 runs a day — and it hosts the work that wants to be 'fairly fresh' without polling overhead: RSS and feed aggregation, metrics snapshot jobs between finer-grained scrapes, API token and session refreshes with 30-minute validity, price or inventory syncs, and CRM-to-warehouse reconciliation. At 48 executions a day, even a job costing several seconds is operationally invisible, which is why half-hourly is often chosen as the de-escalation cadence when an every-minute poll proves excessive.

The :00/:30 alignment shares the top-of-hour collision problem with hourly jobs — half the fires land exactly when the world's batch jobs fire. 7-59/30 shifts to :07/:37; 5 and 35 gives :05/:35 by list form. The list form is worth knowing here specifically because */30's two-fire symmetry makes it the easiest cadence to hand-place: 12,42 is the same interval with the phase moved out of everyone's way. The offset variants in this directory cover the common choices.

Half-hourly on timers, CronJobs, and EventBridge

systemd: OnCalendar=*:0/30, or the more readable *-*-* *:00,30:00 form; both fire at :00 and :30. Kubernetes: "*/30 * * * *" verbatim — at 48 runs a day, the CronJob history settings are the main hygiene item, since default retention accumulates thousands of job objects a month on busy clusters. AWS EventBridge: cron(0/30 * * * ? *) in its 6-field form — with the standing EventBridge caveats that evaluation is UTC-only and the day fields require '?' in one position.

For long-running half-hourly work, the platform-native pattern beats a bare timer: EventBridge → Step Functions for anything with multi-step retry; Cloudflare Cron Triggers for edge-side freshness; Celery beat (crontab(minute='*/30')) for in-process tasks. The choice among wrappers is about observability and retries, not the schedule — the five fields above are identical in all of them.

Common questions

Does */30 mean every 30 minutes or every 30 hours?

Every 30 minutes. A step value applies within a single field and never crosses field boundaries: */30 in the minute field means minute 0 and minute 30 of every hour — 48 fires a day. The same */30 in the hour field would mean hour 0 only (30 is outside the 0-23 hour range), firing once a day at midnight — a real copy-paste bug when the minute and hour positions get swapped. Field position determines meaning; the breakdown table above keeps every field labeled.

How do I run every 30 minutes offset from the hour, like at :10 and :40?

Use a list: 10,40 * * * * fires at :10 and :40. The step form 10-59/30 also works — starting at minute 10, stepping 30 within the 10-59 range gives :10 and :40. This offset pattern is the polite-scheduling move that avoids the :00/:30 batch collisions; the every-15-minutes-offset recipe in this directory demonstrates the same technique at a finer cadence.