You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by br...@apache.org on 2008/11/27 07:08:05 UTC

svn commit: r721086 - in /maven/repository-tools/trunk/src/bin: crontab.txt synchronize-central-to-exist.sh

Author: brett
Date: Wed Nov 26 22:08:05 2008
New Revision: 721086

URL: http://svn.apache.org/viewvc?rev=721086&view=rev
Log:
add full path to script so it succeeds, monitor results for a while

Modified:
    maven/repository-tools/trunk/src/bin/crontab.txt
    maven/repository-tools/trunk/src/bin/synchronize-central-to-exist.sh

Modified: maven/repository-tools/trunk/src/bin/crontab.txt
URL: http://svn.apache.org/viewvc/maven/repository-tools/trunk/src/bin/crontab.txt?rev=721086&r1=721085&r2=721086&view=diff
==============================================================================
--- maven/repository-tools/trunk/src/bin/crontab.txt (original)
+++ maven/repository-tools/trunk/src/bin/crontab.txt Wed Nov 26 22:08:05 2008
@@ -11,7 +11,7 @@
 # sync central to cica.es mirror
 30 21 * * * cd $HOME/bin; ./synchronize-central-to-cica.sh $HOME/bin/synchronize.properties
 # sync central to repo.exist.com mirror
-0 23 * * * cd $HOME/bin; ./synchronize-central-to-exist.sh $HOME/bin/synchronize.properties
+0 23 * * * (cd $HOME/bin; ./synchronize-central-to-exist.sh $HOME/bin/synchronize.properties) 2>&1 | mail -s 'Exist rsync diagnostics' brett@apache.org
 # sync central to ibiblio
 5  1 * * * cd $HOME/bin; ./synchronize-central-to-ibiblio.sh $HOME/bin/synchronize.properties
 # run reports

Modified: maven/repository-tools/trunk/src/bin/synchronize-central-to-exist.sh
URL: http://svn.apache.org/viewvc/maven/repository-tools/trunk/src/bin/synchronize-central-to-exist.sh?rev=721086&r1=721085&r2=721086&view=diff
==============================================================================
--- maven/repository-tools/trunk/src/bin/synchronize-central-to-exist.sh (original)
+++ maven/repository-tools/trunk/src/bin/synchronize-central-to-exist.sh Wed Nov 26 22:08:05 2008
@@ -6,5 +6,5 @@
 
 echo ">>>>>>>>>>>>>>>>>> Syncing Maven 2.x repository to Exist"
 
-rsync -e cmd-for-rssh.sh --delete --max-delete=10 -v -z -riplt $MAVEN2_REPO/ $EXIST_USERNAME@$EXIST_SYNC_HOST:$M2_EXIST_SYNC_DIR
+rsync -e $HOME/bin/cmd-for-rssh.sh --delete --max-delete=10 -v -z -riplt $MAVEN2_REPO/ $EXIST_USERNAME@$EXIST_SYNC_HOST:$M2_EXIST_SYNC_DIR