Kubernetes CronJob Schedule Syntax

Write the schedule field of a Kubernetes CronJob. Build and verify a cron expression such as a weekly backup, then paste it into your manifest.

Part of the free Cron Expression Generator. Runs in your browser — nothing is uploaded.

Kubernetes CronJob Schedule Syntax

A Kubernetes CronJob takes a standard five-field expression in spec.schedule. Verify what it means here before applying the manifest, especially for backups and cleanup jobs that must not run at the wrong time.

Worked example: Weekly backup on Saturday at 03:00

Cron expression

spec:
  schedule: "0 3 * * 6"

In plain English

schedule: 0 3 * * 6
At 03:00 AM, only on Saturday

Practical tip

Set concurrencyPolicy to Forbid for jobs that must not overlap, and set a timeZone field (Kubernetes 1.27+) instead of assuming the controller's timezone.

How to use this Cron Generator

  1. 1Use the live tool above — it runs entirely in your browser and never uploads your data.
  2. 2Paste the sample from the worked example, or use your own input.
  3. 3Copy the result, then adapt the same steps in your editor, script, or pipeline.

Kubernetes CronJob Schedule Syntax FAQs

What timezone does a Kubernetes CronJob use?

By default the timezone of the kube-controller-manager, often UTC. Since Kubernetes 1.27 you can set spec.timeZone explicitly.

Does Kubernetes support @daily?

Yes, macros like @daily, @hourly, @weekly and @monthly are accepted, but explicit expressions are clearer.

More Cron Generator pages

Open the full Cron Generator tool →