How to execute cron job on main gear of scaled applications

Solution Verified - Updated -

Issue

  • On scaled application cron jobs are executed on every gear. How would I run a cron job only on the main gear of scaled applications in OpenShift.

Environment

  • OpenShift Enterprise
  • OpenShift Online

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In