CronJob not starting due to error "Cannot determine if job needs to be started: Too many missed start time"

Solution Verified - Updated -

Issue

CronJob fails with an event error message similar to the following:

$ oc get ev
LAST SEEN   FIRST SEEN   COUNT   NAME                       KIND      TYPE      REASON             SOURCE
43s         19h          5498    example-cronjob-lab.1560   CronJob   Warning   FailedNeedsStart   cronjob-controller
MESSAGE
Cannot determine if job needs to be started: Too many missed start time (> 100). Set or decrease .spec.startingDeadlineSeconds or check clock skew.

Environment

  • Red Hat OpenShift Container Platform (OCP)
    • 3
    • 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content