Tag Info

New answers tagged

1

An easy way is to use lockfile coming usually with the procmail package. LOCKFILE="/tmp/mylockfile.lock" # try once to get the lock else exit lockfile -r 0 "$LOCKFILE" || exit 0 # here the actual job rm -f "$LOCKFILE"



Top 50 recent answers are included