How to ensure only one instance of a Bash script is running π
A single line to make sure only one bash script instance is running, I donβt think it could be any simpler! π
At work, we have an cron job in Bash which can sometimes take a long time to run, depending on some external conditions. So, it was therefore possible that script would not beβ¦