Ordinary Gentlemen
Just another bunch of big kids
About LeJog 2015
LeBlog
What we do ?
Posts tagged: bash
Bash Lockfile Script
Nov
21
2016
Just a little lockfile library for bash. If the lockfile script is in the same folder as your script.. source $(dirname $0)/lockfile.sh Then call. setup_lockfile check_lock create_lock Do your scripty stuff then call cleanup_lock