On Fri, Feb 08, 2013 at 11:44:40AM +0100, Andreas Krey wrote:
> On Thu, 07 Feb 2013 23:00:33 +0000, Marius Gedminas wrote:
> ...
> > The cron script runs svnsync every 5 minutes. 
> 
> Do you make sure svnsync isn't started anew when the previous instance
> hasn't terminated yet? (I don't know if that matters.)

No.  Here's my /etc/cron.d/zope-svn-mirror:

  # Mirror the Zope repository
  */5 * * * * root /usr/local/sbin/update-zope-mirror > /dev/null

and here's my /usr/local/sbin/update-zope-mirror:

  #!/bin/sh
  /usr/bin/sudo -u syncuser /usr/bin/svnsync sync file:///stuff/zope-mirror

It's possible that a temporal overlap happened.

Marius Gedminas
-- 
MCSE == Minesweeper Consultant / Solitaire Expert

Attachment: signature.asc
Description: Digital signature

Reply via email to