Kubernetes CronJob Every 5 Minutes

*/5 * * * *

Every 5 minutes

Next 10 Executions

Times shown in UTC

  • Mon, May 18, 202608:10
  • Mon, May 18, 202608:15
  • Mon, May 18, 202608:20
  • Mon, May 18, 202608:25
  • Mon, May 18, 202608:30
  • Mon, May 18, 202608:35
  • Mon, May 18, 202608:40
  • Mon, May 18, 202608:45
  • Mon, May 18, 202608:50
  • Mon, May 18, 202608:55

Field Breakdown

*/5
Minute
Every 5 minutes
*
Hour
Every hour
*
Day of Month
Every day
*
Month
Every month
*
Day of Week
Every day of week

About This Schedule

Kubernetes CronJobs use standard 5-field cron syntax. To run every 5 minutes:

apiVersion: batch/v1
kind: CronJob
metadata:
  name: my-job
spec:
  schedule: "*/5 * * * *"
  jobTemplate:
    spec:
      template:
        spec:
          containers:
          - name: my-job
            image: my-image:latest
          restartPolicy: OnFailure

Key configuration options: concurrencyPolicy controls overlapping runs (Allow, Forbid, or Replace), startingDeadlineSeconds sets how late a job can start, successfulJobsHistoryLimit and failedJobsHistoryLimit control how many completed/failed jobs to keep, and suspend can temporarily pause the schedule.

Kubernetes CronJobs run in the kube-controller-manager's timezone, which is typically UTC. For timezone-aware scheduling in Kubernetes 1.27+, use the timeZone field in the CronJob spec.

Frequently Asked Questions