RFE: Lockfile option for use in cronjobs
Looking for an easy way to prevent a repetitive rsync to be running
multiple times, I was wondering if it could be useful to have an option
So that rsync can be run directly from cron without requiring a wrapper
script to do pidfile handling.
This way rsync on startup could check the pid-file, see if another rsync
is using this pid, and bail out with an error if it is. Otherwise clean up
the stale pidfile and continue.
I think this would be very useful to instruct mirrors how to configure it,
rather than providing some script that needs local customizations.
Thanks in advance,
-- dag wieers, [email]email@example.com[/email], [url]http://dag.wieers.com/[/url] --
[Any errors in spelling, tact or fact are transmission errors]
To unsubscribe or change options: [url]https://lists.samba.org/mailman/listinfo/rsync[/url]
Before posting, read: [url]http://www.catb.org/~esr/faqs/smart-questions.html[/url]