HEAnet rsync has been down for at least a week
[mirror-monitor.git] / bin / run_mirmon
index 4dd1b57392d91464e5722c405e9c4949822a311f..f84af9d61e43dcbc18d0c73d3c90c8bcbc9e6217 100755 (executable)
@@ -3,9 +3,14 @@
 #
 # Runs mirmon for both ftp and www repos
 #
-MIRMON_BASE=/home/services/mirmon/mirmon
+MIRMON_BASE=/home/nm4/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