2014-12-09 00:59:25 +01:00
|
|
|
MAILTO=root
|
|
|
|
|
2014-12-08 17:04:07 +01:00
|
|
|
# refresh the mirrorlist cache at the top of the hour
|
2015-04-24 07:53:55 +00:00
|
|
|
55 * * * * mirrormanager /usr/bin/mm2_update-mirrorlist-server
|
2014-12-08 17:04:07 +01:00
|
|
|
|
|
|
|
# update master directory list
|
|
|
|
# logs sent to /var/log/mirrormanager/umdl.log by default
|
2015-04-24 07:53:55 +00:00
|
|
|
0 */2 * * * mirrormanager /usr/local/bin/lock-wrapper umdl /usr/bin/mm2_update-master-directory-list
|
2014-12-08 17:04:07 +01:00
|
|
|
|
|
|
|
# Sync netblocks list once a day
|
2015-04-24 07:53:55 +00:00
|
|
|
30 0 * * * mirrormanager cd /usr/share/mirrormanager2 && /usr/bin/mm2_get_global_netblocks /var/lib/mirrormanager/global_netblocks.txt
|
2015-04-24 08:51:09 +00:00
|
|
|
# Run the script for Internet2 netblocks very late to
|
|
|
|
# make sure the files are all there. The script is
|
|
|
|
# looking in date dependent directories and depending
|
|
|
|
# on the timezone of the remote server the files appear late.
|
|
|
|
0 23 * * * mirrormanager cd /usr/share/mirrormanager2 && /usr/bin/mm2_get_internet2_netblocks /var/lib/mirrormanager/internet2_netblocks.txt
|
2015-04-24 07:53:55 +00:00
|
|
|
30 1 * * * mirrormanager /usr/bin/mm2_update-EC2-netblocks
|