[Csync2] cron "overruns"

Tim Serong tserong at suse.com
Tue Jan 6 04:58:42 CET 2015


On 01/06/2015 02:16 PM, Marc Fournier wrote:
> 
> Terrible subject, sorry … basically, if I setup cron to run csync2 every 10 minutes, if it takes longer then 10 minutes, is there anything that prevents another instance of csync2 from starting up?   

Not that I'm aware of that's built in to csync2.  You could wrap the
csync2 invocation in a little shell script though, to prevent multiple
invocations by adding some sort of lock file (taking care to avoid pesky
create/test race conditions...)

Regards,

Tim
-- 
Tim Serong
Senior Clustering Engineer
SUSE
tserong at suse.com


More information about the Csync2 mailing list