From ee1337701915956484d469f89ee8adb8a04ddde2 Mon Sep 17 00:00:00 2001 From: Jason van Zyl Date: Wed, 12 May 2004 18:01:00 +0000 Subject: [PATCH] syncing for osjava.org git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162701 13f79535-47bb-0310-9956-ffa450edef68 --- maven-meeper/src/bin/osjava/cron.txt | 8 ++++++++ maven-meeper/src/bin/osjava/sync-osjava | 5 +++++ 2 files changed, 13 insertions(+) create mode 100644 maven-meeper/src/bin/osjava/cron.txt create mode 100755 maven-meeper/src/bin/osjava/sync-osjava diff --git a/maven-meeper/src/bin/osjava/cron.txt b/maven-meeper/src/bin/osjava/cron.txt new file mode 100644 index 0000000000..addc166b9e --- /dev/null +++ b/maven-meeper/src/bin/osjava/cron.txt @@ -0,0 +1,8 @@ +# use /bin/sh to run commands, no matter what /etc/passwd says +SHELL=/bin/sh + +# mail any output to `jvanzyl', no matter whose crontab this is +MAILTO=jvanzyl + +# run 23 minutes after midn, 4am, 8am ..., everyday +0 0-23/4 * * * /export/sunsite/users/jvanzyl/bin/sync-osjava diff --git a/maven-meeper/src/bin/osjava/sync-osjava b/maven-meeper/src/bin/osjava/sync-osjava new file mode 100755 index 0000000000..51dfbe69cc --- /dev/null +++ b/maven-meeper/src/bin/osjava/sync-osjava @@ -0,0 +1,5 @@ +#!/bin/sh + +umask 002 + +rsync -rvl --size-only --exclude="README.txt" --exclude="_templates" --rsh="ssh -l rsync" www.osjava.org:~/maven/ /public/html/maven