How do I make sure my bash script isn't already running? - continued -


Continued with

and with forgiveness: in the final solution, "ps" is sufficient or it should be "ps -ef" Show running processes?

Sorry I do not have sufficient privileges to add a comment to the previous question.

You can find this script like this: ps ax | Grep scriptname


Comments

Popular posts from this blog

mysql - How to enter php data into a html multiple select box -

java - Can't add JTree to JPanel of a JInternalFrame -

c++ - Cassandra datastax cpp driver - avoiding unnecessary copies -