Introducing Substrate Agents for Kubernetes optimizationLearn more
Free Tools

CronJob Expression Builder

Build and validate Kubernetes CronJob schedules visually. Configure your schedule with the visual builder or type a cron expression directly, preview upcoming run times, and generate a complete CronJob YAML manifest.

Cron Expression

Every 5 minutes

Next Scheduled Runs

Tue, Mar 3, 2026, 10:05 PMin 3m
Tue, Mar 3, 2026, 10:10 PMin 8m
Tue, Mar 3, 2026, 10:15 PMin 13m
Tue, Mar 3, 2026, 10:20 PMin 18m
Tue, Mar 3, 2026, 10:25 PMin 23m

CronJob Configuration

Skips new run if previous is still running

Pause scheduling of new jobs

CronJob YAML Manifest
# Kubernetes CronJob Manifest
# Schedule: Every 5 minutes
apiVersion: batch/v1
kind: CronJob
metadata:
name: my-cronjob
namespace: default
spec:
# Cron schedule expression (UTC)
schedule: "*/5 * * * *"
# Skips new run if previous is still running
concurrencyPolicy: Forbid
# Number of successful finished jobs to retain
successfulJobsHistoryLimit: 3
# Number of failed finished jobs to retain
failedJobsHistoryLimit: 1
jobTemplate:
spec:
template:
spec:
containers:
- name: my-cronjob
image: busybox:latest
command:
- "echo"
- "Hello"
restartPolicy: OnFailure