in reply to Re^2: Abort if instance already running?
in thread Abort if instance already running?
If for some reason there are different hosts that share a given disk and might try to start instances of this process, but only one host at a time may run the one instance of the process, then you'd have to complicate the pid-file approach somewhat, and file locking might be easier/better overall (assuming it works reasonably well on your shared file system... YMMV).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Abort if instance already running?
by Marshall (Canon) on Jan 06, 2009 at 03:16 UTC | |
|
Re^4: Abort if instance already running?
by rir (Vicar) on Jan 06, 2009 at 21:40 UTC |