aboutsummaryrefslogtreecommitdiffstats
path: root/maven-meeper
diff options
context:
space:
mode:
authorCarlos Sanchez Gonzalez <carlos@apache.org>2007-07-11 20:08:27 +0000
committerCarlos Sanchez Gonzalez <carlos@apache.org>2007-07-11 20:08:27 +0000
commit1e503cf769d9d800023f4a3076024fd50c6ba489 (patch)
treed96653a8345e0915399b9d40fb4a019f72363ad0 /maven-meeper
parent9fdd8b4d268a281a6e621487d2529852a3313bc6 (diff)
downloadarchiva-1e503cf769d9d800023f4a3076024fd50c6ba489.tar.gz
archiva-1e503cf769d9d800023f4a3076024fd50c6ba489.zip
Ibiblio rsync hangs, sync first to cica and kill stalled rsync processes
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@555382 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'maven-meeper')
-rw-r--r--maven-meeper/src/bin/crontab.txt1
-rwxr-xr-xmaven-meeper/src/bin/synchronize.sh14
2 files changed, 8 insertions, 7 deletions
diff --git a/maven-meeper/src/bin/crontab.txt b/maven-meeper/src/bin/crontab.txt
index da1ecb870..977fb0aa3 100644
--- a/maven-meeper/src/bin/crontab.txt
+++ b/maven-meeper/src/bin/crontab.txt
@@ -2,3 +2,4 @@
MAILTO=repository@maven.org
0 */4 * * * cd $HOME/bin; ./synchronize.sh
0 0 * * * cd $HOME/reports; ./run.sh
+30 */4 * * * cd $HOME/bin; ./kill_long_runners.sh rsync 3
diff --git a/maven-meeper/src/bin/synchronize.sh b/maven-meeper/src/bin/synchronize.sh
index 525d15bb9..fa2408c73 100755
--- a/maven-meeper/src/bin/synchronize.sh
+++ b/maven-meeper/src/bin/synchronize.sh
@@ -5,7 +5,7 @@
# 2. Convert Maven 1.x repository to Maven 2.x repository
# 3. Manual fixes
# 4. Sync Maven 2.x repositories to central
-# 5. Sync the Maven 2.x repository to Ibiblio
+# 5. Sync the Maven 2.x repository to Cica and Ibiblio
# 6. Copy the mod_rewrite rules to the Maven 1.x repository @ Ibiblio
# ------------------------------------------------------------------------
@@ -96,22 +96,22 @@ sha1sum $CL/maven-metadata.xml > $CL/maven-metadata.xml.sha1
)
# ------------------------------------------------------------------------
-# Ibiblio synchronization: sync the central repository to Ibiblio
+# Cica.es synchronization: sync the central repository to Cica.es
# ------------------------------------------------------------------------
-[ "$MODE" = "batch" ] && echo && echo "Press any key to run the sync to Ibiblio, or hit ^C to quit." && echo
+[ "$MODE" = "batch" ] && echo && echo "Press any key to run the sync to Cica, or hit ^C to quit." && echo
-./synchronize-central-to-ibiblio.sh $syncProperties
+./synchronize-central-to-cica.sh $syncProperties
retval=$?; if [ $retval != 0 ]; then exit $retval; fi
retval=$?; if [ $retval != 0 ]; then exit $retval; fi
# ------------------------------------------------------------------------
-# Cica.es synchronization: sync the central repository to Cica.es
+# Ibiblio synchronization: sync the central repository to Ibiblio
# ------------------------------------------------------------------------
-[ "$MODE" = "batch" ] && echo && echo "Press any key to run the sync to Cica, or hit ^C to quit." && echo
+[ "$MODE" = "batch" ] && echo && echo "Press any key to run the sync to Ibiblio, or hit ^C to quit." && echo
-./synchronize-central-to-cica.sh $syncProperties
+./synchronize-central-to-ibiblio.sh $syncProperties
retval=$?; if [ $retval != 0 ]; then exit $retval; fi
retval=$?; if [ $retval != 0 ]; then exit $retval; fi