A locking wrapper script

Edit Package withlock
http://code.google.com/p/withlock/

withlock is a locking wrapper script to make sure that some program isn't run more than once. It is ideal to prevent periodic jobs spawned by cron from stacking up.

The locks created are valid only while the wrapper is running, and thus will never require a cleanup, as after a reboot. Thus, the wrapper is safe and easy to use, and much better than implementing half-hearted locking within scripts.

Refresh
Refresh
Source Files
Filename Size Changed
withlock-0.3.tar.gz 0000002352 2.3 KB
withlock-README.SuSE 0000000768 768 Bytes
withlock.changes 0000001393 1.36 KB
withlock.spec 0000001944 1.9 KB
Revision 5 (latest revision is 11)
Stephan Kulow's avatar Stephan Kulow (coolo) accepted request 227507 from Stephan Kulow's avatar Stephan Kulow (coolo) (revision 5)
- update to 0.3
  * At exit, unlink the lock file only if a lock was actually obtained.
    When waiting for a lock (using -w option) and timing out, the file
    was removed nevertheless. Thanks Bernhard Wiedemann for finding this
    bug and providing such a good test case, so the fix was easy.
    See https://bugzilla.novell.com/show_bug.cgi?id=864785 (forwarded request 227498 from poeml)
Comments 0
openSUSE Build Service is sponsored by