If you have a bash script that you want to make sure there is only ever one instance of, for example something triggered by cron that might not have finished the next time cron tries to trigger it then you might like this little snippet: This is built for running Magento shell scripts (if you [...]
The post Simple Bash Single Process Enforcement appeared first on Edmonds Commerce. Edmonds Commerce are Magento specialist developers based in the UK.