Login
From:
A Random Walk
(Uncensored)
subscribe
Ensuring that a shell script runs exactly once
https://rrampage.github.io/2018/11/06/ensuring-that-a-shell-script-runs-exactly-once/
links
backlinks
Roast topics
Find topics
Find it!
Many times, we have shell scripts which perform some important stuff like inserting into database, mailing reports, etc which we want to run exactly one instance of.