Every day at 3 AM
Maintenance in the quietest hour: vacuuming databases, compacting storage, refreshing materialized views.
Checked with the same parser Bex uses to validate schedules. Next run times are computed in your browser.
Cron expression
0 3 * * *| minute | 0 |
|---|---|
| hour | 3 |
| day of month | * |
| month | * |
| day of week | * |
Watch out for
- 3 AM UTC is the middle of the working day in Asia; pick the hour from your traffic, not from habit.
- 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
0 3 * * * /usr/local/bin/my-job
Kubernetes CronJob
apiVersion: batch/v1
kind: CronJob
metadata:
name: my-job
spec:
schedule: "0 3 * * *"
concurrencyPolicy: Forbid
jobTemplate:
spec:
template:
spec:
restartPolicy: Never
containers:
- name: my-job
image: my-image
GitHub Actions
on:
schedule:
- cron: "0 3 * * *"
render.yaml (Bex cron job)
services:
- name: my-cron-job
type: cron
runtime: docker
schedule: "0 3 * * *"
Related schedules
- Every day at 1 AM
0 1 * * * - Every day at 6 AM
0 6 * * *
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