How can I manage cron jobs in an active/passive manner in a Pacemaker cluster?

Solution Verified - Updated -

Issue

  • I want to run certain cron jobs only on the active node of a Pacemaker cluster. How can I achieve this?

Environment

  • Red Hat Enterprise Linux 7 (with the High Availability Add-on)
  • Red Hat Enterprise Linux 8 (with the High Availability Add-on)

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