Package: lockfile-progs
Version: 0.1.17
Tags: patch
Severity: wishlist

During my work with Fixmystreet and Alaveteli from mysociety, I have
discovered the usefulness of their run-with-lockfile utility.  It is
very useful in cron jobs, to ensure only one cron job run at the time.
The cron job would look like something like this:

  run-with-lockfile -n /some/lock "/some/command args >> /some/log || echo 
"stalled?"

The original implementation is in C, and I planned to upload it to
Debian (See WNPP request <URL: http://bugs.debian.org/660216 >).  But
then I discovered a shell version using the tools in lockfile-progs
available from
<URL: 
https://github.com/mysociety/commonlib/blob/master/bin/run-with-lockfile.sh >.

Would you be willing to import that script into the lockfile-progs
package to make this very useful tool available directly in a Debian
package?

-- 
Happy hacking
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to