regula.tools
100% Client-SideGenerators

Cron Expression: Run Every 30 Minutes (*/30 * * * *)

The standard POSIX crontab expression for running a scheduled task every 30 minutes is `*/30 * * * *` (equivalent to `0,30 * * * *`). It executes 48 times per day—at `:00` and `:30` past every hour—entirely validated client-side with zero server latency.

Loading workspace...

#How to Use This Tool

1The expression is pre-hydrated to `*/30 * * * *`.
2Inspect the human-readable translation and upcoming execution timestamps.
3Optionally restrict hours (e.g., `*/30 9-17 * * 1-5` for business hours only).

#Mathematical Formula & Standards

In `[minute] [hour] [day-of-month] [month] [day-of-week]`, `*/30` uses a step divisor of `30` over `0–59`, matching minutes `0` and `30` of every hour. Wildcards (`*`) in the remaining four fields match every hour, day, month, and weekday.

#Edge Cases & Technical Considerations

*/30 vs. 0,30 Portability

Modern Linux Vixie cron, Kubernetes CronJob, and GitHub Actions support `*/30 * * * *`. Legacy POSIX/System V cron implementations without step syntax require explicit `0,30 * * * *`.

Preventing Overlapping 30-Minute Runs

If a sync script can occasionally take longer than 30 minutes, wrap it with `flock -n /tmp/job.lock` or set `concurrencyPolicy: Forbid` in Kubernetes.

#Frequently Asked Questions

Q:What is the cron expression for every 30 minutes?

Use `*/30 * * * *` (or `0,30 * * * *`). It runs at minute 0 and minute 30 of every hour, 48 times per day.

Q:How do I run every 30 minutes only on weekdays?

Change the day-of-week field to `1-5`: `*/30 * * * 1-5`.

Have feedback or feature requests?

Help us improve this utility. Share suggestions, report edge cases, or request new features directly.

Send Feedback