Tag: bash single process

bash singleton process

Here is a simple, yet effective way, to make sure a script runs only once. when the script start it run a simple line that detect if the number of running script does not exceeds more then 1. #!/bin/bash [[

Posted in Tips and Tricks Tagged with: ,