2014-12-09 00:59:25 +01:00
|
|
|
MAILTO=root
|
|
|
|
|
2020-11-11 12:39:15 +01:00
|
|
|
# Refresh the mirrorlist cache every 15 minutes
|
|
|
|
# This takes about 1 minute
|
|
|
|
0,15,30,45 * * * * mirrormanager /usr/local/bin/update-mirrorlist-server && /usr/local/bin/sync_cache_to_mirrorlists.sh
|
2014-12-08 17:04:07 +01:00
|
|
|
|
2015-06-29 09:59:47 +00:00
|
|
|
# update master directory
|
2014-12-08 17:04:07 +01:00
|
|
|
# logs sent to /var/log/mirrormanager/umdl.log by default
|
2015-06-29 09:59:47 +00:00
|
|
|
# check if category Fedora EPEL needs updating every 30 minutes
|
2017-06-18 17:23:27 +02:00
|
|
|
0,30 * * * * mirrormanager /usr/local/bin/umdl-required epel /var/log/mirrormanager/umdl-required.log
|
2015-06-29 09:59:47 +00:00
|
|
|
# check if category Fedora Linux needs updating every 30 minutes
|
2017-06-18 17:23:27 +02:00
|
|
|
10,40 * * * * mirrormanager /usr/local/bin/umdl-required fedora /var/log/mirrormanager/umdl-required.log
|
|
|
|
# check if category Fedora Secondary Arches needs updating every 30 minutes
|
|
|
|
20,50 * * * * mirrormanager /usr/local/bin/umdl-required fedora-secondary /var/log/mirrormanager/umdl-required.log
|
2020-11-11 12:39:15 +01:00
|
|
|
# check if category Fedora Codecs needs updating once a day
|
2020-09-01 17:13:17 -04:00
|
|
|
15 20 * * * mirrormanager /usr/local/bin/umdl-required codecs /var/log/mirrormanager/umdl-required.log
|
2017-06-18 17:23:27 +02:00
|
|
|
# the remaining categories are updated every two hours
|
|
|
|
15 */2 * * * mirrormanager /usr/local/bin/umdl-required archive /var/log/mirrormanager/umdl-required.log
|
|
|
|
45 */2 * * * mirrormanager /usr/local/bin/umdl-required alt /var/log/mirrormanager/umdl-required.log
|
2014-12-08 17:04:07 +01:00
|
|
|
|
2022-06-22 10:53:04 +02:00
|
|
|
# check if category CentOS needs updating every 15 minutes
|
|
|
|
57,12,27,42 * * * * mirrormanager /usr/local/bin/umdl-required centos /var/log/mirrormanager/umdl-required.log
|
2021-09-06 19:40:36 +02:00
|
|
|
|
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.
|
2015-05-07 10:16:37 +00:00
|
|
|
0 23 * * * mirrormanager cd /usr/share/mirrormanager2 && /usr/bin/mm2_get_internet2_netblocks /var/lib/mirrormanager/i2_netblocks.txt
|
2015-04-24 07:53:55 +00:00
|
|
|
30 1 * * * mirrormanager /usr/bin/mm2_update-EC2-netblocks
|