All Platform Guides

Kubernetes CronJob Syntax

Complete guide to Kubernetes CronJob scheduling

Last updated: December 2025

Key Features

  • Standard 5-field cron
  • Optional timezone (spec.timeZone)
  • Concurrency policies
  • Job history limits

Example Configuration

apiVersion: batch/v1
kind: CronJob
metadata:
  name: hello
spec:
  schedule: '*/5 * * * *'
  jobTemplate:
    spec:
      template:
        spec:
          containers:
          - name: hello
            image: busybox
          restartPolicy: OnFailure

Official Documentation

Kubernetes Scheduling Documentation →

Monitoring Kubernetes Jobs

Add heartbeat monitoring to your Kubernetes jobs. Just add a ping at the end of your job:

curl -fsS https://cronsignal.io/ping/YOUR_CHECK_ID

Monitor Kubernetes Jobs

Get alerted when your Kubernetes scheduled jobs fail to run.

Start Monitoring Free

3 checks free. No credit card required.