How to execute cron job on main gear of scaled applications

Solution Verified - Updated -


  • 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.


  • 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