Skip to main content

Every 15 minutes during business hours

Frequent checks — support queue alerts, inventory syncs — that are pointless overnight and at weekends.

Checked with the same parser Bex uses to validate schedules. Next run times are computed in your browser.

Cron expression

*/15 9-17 * * 1-5
minute*/15
hour9-17
day of month*
month*
day of week1-5

Watch out for

  • The hour range 9-17 runs through 17:45, not 17:00; use 9-16 if the last run should be at 16:45.
  • Scheduled runs use Kubernetes Forbid concurrency: a run that would overlap a still-running one is skipped, not queued.
  • 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…

Edit or check this expression in the cron checker

How to write it

crontab

*/15 9-17 * * 1-5 /usr/local/bin/my-job

Kubernetes CronJob

apiVersion: batch/v1
kind: CronJob
metadata:
  name: my-job
spec:
  schedule: "*/15 9-17 * * 1-5"
  concurrencyPolicy: Forbid
  jobTemplate:
    spec:
      template:
        spec:
          restartPolicy: Never
          containers:
            - name: my-job
              image: my-image

GitHub Actions

on:
  schedule:
    - cron: "*/15 9-17 * * 1-5"

render.yaml (Bex cron job)

services:
  - name: my-cron-job
    type: cron
    runtime: docker
    schedule: "*/15 9-17 * * 1-5"

Related schedules

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