svn: /web/doc/trunk/cron/hourly/ update_docs_mirror
| From: | Philip Olson | Date: | Wed, 12 Aug 2009 16:14:52 +0000 |
| Subject: | svn: /web/doc/trunk/cron/hourly/ update_docs_mirror | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-1083@lists.php.net to get a copy of this message | ||
philip Wed, 12 Aug 2009 16:14:52 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=287167
Log:
- Added the cron that rsyncs the doc mirror (docs.php.net), likely written by Hannes
- Since the mirror builds the docs 4x daily, we skip over that part in the rsync
Changed paths:
A web/doc/trunk/cron/hourly/update_docs_mirror
Added: web/doc/trunk/cron/hourly/update_docs_mirror
===================================================================
--- web/doc/trunk/cron/hourly/update_docs_mirror (rev 0)
+++ web/doc/trunk/cron/hourly/update_docs_mirror 2009-08-12 16:14:52 UTC (rev 287167)
@@ -0,0 +1,6 @@
+#!/bin/sh
+rsync -avzC --timeout=600 --delete --delete-after \
+ --include='distributions/*.exe' \
+ --exclude='manual/**' \
+ --exclude='distributions/manual/**' \
+ rsync.php.net::phpweb /local/Web/sites/docs.php.net