<p>Sure thing, I&#39;m not at the office right now but when I am I&#39;ll send it off to you.</p>
<div class="gmail_quote">On Feb 28, 2013 1:02 PM, &quot;Tony Schliesser&quot; &lt;<a href="mailto:tony@schliesser.org">tony@schliesser.org</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Ryan - If you don&#39;t care to share your mirror script, I&#39;d like to see it.<div><br></div><div>Thanks,</div><div>Tony</div><div><br></div><div><br></div><div><div dir="ltr" style="font-family:arial,sans-serif;font-size:13px">

Hi Jim, it&#39;s quite easy to do with a script. This first section here checks to see if a lock is present, and if it is, the script bails:<div><br></div><div><div>if [ -f /var/lock/subsys/rsync_updates ]; then</div><div>

    echo &quot;Updates via rsync already running.&quot;</div><div>    echo &quot;--ERROR: REPOSITORY SYNC ABORTED AT `date`--&quot;</div><div>    exit 0</div><div>fi</div></div><div><br></div><div>When I begin my sync, it touches the lock file (touch /var/lock/subsys/rsync_updates), and when finished, removes it (/bin/rm -f /var/lock/subsys/rsync_updates). If you need any help or wish to see my full script, just let me know and I can provide it.</div>

<div><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 27, 2013 at 8:42 PM, Jim Hartnett <span dir="ltr">&lt;<a href="mailto:mirrors@gawsolutions.us" target="_blank">mirrors@gawsolutions.us</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ok, I have the lock scripts setup and working, I think we&#39;re ready to<br>
add our mirror.<br>
<br>
(information repeated):<br>
<div><br>
mirror Url: <a href="http://mirrors.gawsolutions.us/centos" target="_blank">http://mirrors.gawsolutions.us/centos</a><br>
bandwidth: 100 Mbps up/down unmetered transfer<br>
located in dallas, tx, usa<br>
Geeks at Work Solutions<br>
centos machine with apache<br>
rsync twice a day at offset minutes (reduces peak for even hour starts)<br>
<br>
</div><span><font color="#888888">- -Jim<br>
</font></span><br>
P.S: sorry if this message gets repeated multiple times. I just found out my email client was having some issues with the account I use for mirror mailing lists<br>
<div><div><br>
_______________________________________________<br>
CentOS-mirror mailing list<br>
<a href="mailto:CentOS-mirror@centos.org" target="_blank">CentOS-mirror@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos-mirror" target="_blank">http://lists.centos.org/mailman/listinfo/centos-mirror</a><br>
</div></div></blockquote></div><br></div>
</blockquote></div>