How to ensure Single Cron Job Instance with flock in Red Hat Environments
Issue
- Is it possible to run only one instance of cronjob at time
- Multiple instances of cronjob is seen in process list and it is only supposed to spawn one instance at a time.
Environment
- Red Hat Enterprise Linux
- cronie
flockutility
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.