cronning rsync

Adrian Ho aho-sw-rsync at 03s.net
Fri Jun 21 04:04:03 EST 2002


On Thu, Jun 20, 2002 at 03:47:14PM -0600, tim.conway at philips.com wrote:
> I don't know if the setlock thing is completely immune to racing.

setlock (and possibly other utilities like it) basically obtains an
exclusive lock on a user-specified file before running the indicated
program.  If flock()/lockf() on your chosen OS is susceptible to race
conditions, it's seriously broken (and you'd have to worry about far
more serious problems than concurrent rsyncs).

> It might be better.

It's certainly more reliable than grep'ing ps output.  8-)

- Adrian




More information about the rsync mailing list