Let's get emails about error in the mirrormanager2 crons and fix config file for umdl

This commit is contained in:
Pierre-Yves Chibon 2014-12-09 00:59:25 +01:00
parent 94621aa345
commit cd03bdaa08

View file

@ -1,11 +1,13 @@
MAILTO=root
# refresh the mirrorlist cache at the top of the hour
55 * * * * root /usr/bin/mm2_update-mirrorlist-server > /dev/null 2>&1
55 * * * * root /usr/bin/mm2_update-mirrorlist-server
# update master directory list
# logs sent to /var/log/mirrormanager/umdl.log by default
0 */2 * * * root /usr/bin/mm2_update-master-directory-list -c /etc/mirrormanager/prod.cfg > /dev/null 2>&1
0 */2 * * * root /usr/bin/mm2_update-master-directory-list
# Sync netblocks list once a day
30 0 * * * root /usr/bin/mm2_get_global_netblocks /var/lib/mirrormanager/global_netblocks.txt > /dev/null 2>&1
0 1 * * * root /usr/bin/mm2_get_internet2_netblocks /var/lib/mirrormanager/internet2_netblocks.txt > /dev/null 2>&1
30 1 * * * root /usr/bin/mm2_update-EC2-netblocks > /dev/null 2>&1
30 0 * * * root /usr/bin/mm2_get_global_netblocks /var/lib/mirrormanager/global_netblocks.txt
0 1 * * * root /usr/bin/mm2_get_internet2_netblocks /var/lib/mirrormanager/internet2_netblocks.txt
30 1 * * * root /usr/bin/mm2_update-EC2-netblocks