updated paths to cumin
[mirror-monitor.git] / bin / run_mirmon
index 016c999c37781d2fa0cdfa81c41935c5c8cd13d7..8b850c2031d981f94ca79edffeae5509cd0db943 100755 (executable)
@@ -3,9 +3,13 @@
 #
 # Runs mirmon for both ftp and www repos
 #
-MIRMON_BASE=/home/nm4/mirror-monitor/mirmon
-
+MIRMON_BASE=/opt/cumin/services/mirror-monitor/mirmon
 cd ${MIRMON_BASE} || exit
+
+# update the repository in case of changes
+git pull -q
+
+# work through the mirrors
 for set in www ftp
 do
     ./mirmon -q -get update -c mirmon_${set}.conf