[nycbug-talk] Is there something similar to lockrun in the ports?
thomas at zaph.org
thomas at zaph.org
Wed Aug 12 14:13:05 EDT 2009
* Matt Juszczak <matt at atopia.net> [2009-08-12 13:48:04-0400]:
> Something similar to this:
> http://unixwiz.net/tools/lockrun.html
> For FreeBSD in FreeBSD ports? Easy to implement?
See lockfile(1) which is part of the procmail package and does something
very similar.
Run it like this:
lockfile ~/.lockfile && /path/to/job && rm -f ~/.lockfile
I've used it for years and it works great.
Thomas
More information about the talk
mailing list