Change the schedule of Elasticsearch cronjobs

Solution Verified - Updated -

Issue

  • How to change the schedule of Elasticsearch cronjobs?
  • Cronjobs run every 15 min, How can one change it to run every 30 min?
# oc get cj -n openshift-logging
NAME                           SCHEDULE       SUSPEND   ACTIVE   LAST SCHEDULE   AGE
curator                        30 3 * * *     False     0        7h59m           50d
elasticsearch-delete-app       */15 * * * *   False     0        14m             50d
elasticsearch-delete-audit     */15 * * * *   False     0        14m             50d
elasticsearch-delete-infra     */15 * * * *   False     0        14m             50d

Environment

  • Red Hat OpenShift Container Platform
    • 4.5 and above

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