Exit out if your script is already running

1 year ago, Mon, Oct 22, 2018, 12:02:19
if pidof -x "`basename $0`" -o $$ >/dev/null; then
    echo "Process already running"


commented 5 months ago, Thu, Jun 20, 2019, 06:15:06
I want to thank you this great idea! I love every bit of it. I have a bookmark you look at your new things. paint contractor Lakeland