mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-12 10:56:20 +08:00
Disable crawler and automatic pkl push before the release
To better control what is available on the mirrorlist servers the cronjob are disabled. Signed-off-by: Adrian Reber <adrian@lisas.de>
This commit is contained in:
@@ -2,7 +2,7 @@ MAILTO=root
|
||||
|
||||
# Refresh the mirrorlist cache at the top of the hour and sync it to the
|
||||
# mirrorlist servers
|
||||
55 * * * * mirrormanager /usr/bin/mm2_update-mirrorlist-server && /usr/local/bin/sync_pkl_to_mirrorlists.sh
|
||||
#55 * * * * mirrormanager /usr/bin/mm2_update-mirrorlist-server && /usr/local/bin/sync_pkl_to_mirrorlists.sh
|
||||
|
||||
# update master directory
|
||||
# logs sent to /var/log/mirrormanager/umdl.log by default
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
# [ "`hostname -s`" == "mm-crawler02" ] && sleep 2h is used to start the crawl
|
||||
# later on the second crawler to reduce the number of parallel accesses to
|
||||
# the database
|
||||
0 */12 * * * mirrormanager [ "`hostname -s`" == "mm-crawler02" ] && sleep 2h; /usr/bin/mm2_crawler --timeout-minutes 180 --threads 20 `/usr/local/bin/run_crawler.sh 2` > /dev/null 2>&1
|
||||
#0 */12 * * * mirrormanager [ "`hostname -s`" == "mm-crawler02" ] && sleep 2h; /usr/bin/mm2_crawler --timeout-minutes 180 --threads 20 `/usr/local/bin/run_crawler.sh 2` > /dev/null 2>&1
|
||||
|
||||
Reference in New Issue
Block a user