#
# 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