Every 30 minutes
Half-hourly jobs such as rotating short-lived tokens, pruning sessions or sampling metrics.
Checked with the same parser Bex uses to validate schedules. Next run times are computed in your browser.
Cron expression
*/30 * * * *| minute | */30 |
|---|---|
| hour | * |
| day of month | * |
| month | * |
| day of week | * |
Watch out for
*/30means minutes 0 and 30. Steps that do not divide 60 evenly, like*/40, do not run at a steady interval — they fire at :00 and :40.- Bex does not set a per-job time zone: the cluster controller's clock decides. Bex's own next-run projection assumes UTC, as shown here.
Next runs
Calculating the next runs…
How to write it
crontab
*/30 * * * * /usr/local/bin/my-job
Kubernetes CronJob
apiVersion: batch/v1
kind: CronJob
metadata:
name: my-job
spec:
schedule: "*/30 * * * *"
concurrencyPolicy: Forbid
jobTemplate:
spec:
template:
spec:
restartPolicy: Never
containers:
- name: my-job
image: my-image
GitHub Actions
on:
schedule:
- cron: "*/30 * * * *"
render.yaml (Bex cron job)
services:
- name: my-cron-job
type: cron
runtime: docker
schedule: "*/30 * * * *"
Related schedules
- Every 15 minutes
*/15 * * * * - Every hour
0 * * * *
Run this schedule as a cron job on Bex: declare it in render.yaml and Bex keeps the run history and logs for every execution.
Cron jobs on Bex