in reply to Checking for multiple instances
#!/bin/bash if (ps ax |grep -q "my_perl_script_name") ; then exit; fi my_perl_script_name
All code, unless otherwise noted, is untested
"All it will give you though, are headaches after headaches as it misinterprets your instructions in the most innovative yet useless ways." - Maypole and I - Tales from the Frontier of a Relationship (by Corion)
|
|---|