From a16f9992be50b6762a69cfa694de88f6939830c1 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Fri, 24 Apr 2015 08:51:09 +0000 Subject: [PATCH] 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. --- roles/mirrormanager/backend/files/backend.cron | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/roles/mirrormanager/backend/files/backend.cron b/roles/mirrormanager/backend/files/backend.cron index e3a80bbe46..c3fdfff92d 100644 --- a/roles/mirrormanager/backend/files/backend.cron +++ b/roles/mirrormanager/backend/files/backend.cron @@ -9,5 +9,9 @@ MAILTO=root # Sync netblocks list once a day 30 0 * * * mirrormanager cd /usr/share/mirrormanager2 && /usr/bin/mm2_get_global_netblocks /var/lib/mirrormanager/global_netblocks.txt -0 1 * * * mirrormanager cd /usr/share/mirrormanager2 && /usr/bin/mm2_get_internet2_netblocks /var/lib/mirrormanager/internet2_netblocks.txt +# 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 30 1 * * * mirrormanager /usr/bin/mm2_update-EC2-netblocks