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