in reply to self detecting script
die "a horrible death" if ( -f "lockfile"); open LOCK, ">", "lockfile" or die; close (LOCK); ... do some stuff ... unlink("lockfile");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: self detecting script
by Fletch (Bishop) on Sep 15, 2005 at 18:26 UTC | |
|
Re^2: self detecting script
by runrig (Abbot) on Sep 15, 2005 at 18:56 UTC |