X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/925707a3e834925ac70c1b429c41559790e0c2a8..68e94a5e329d24be399bb55abf4471de14c5a739:/cookbooks/mediawiki/resources/site.rb diff --git a/cookbooks/mediawiki/resources/site.rb b/cookbooks/mediawiki/resources/site.rb index 03f57faa6..6602b152e 100644 --- a/cookbooks/mediawiki/resources/site.rb +++ b/cookbooks/mediawiki/resources/site.rb @@ -205,12 +205,11 @@ action :create do end cron_d "mediawiki-#{cron_name}-refresh-links" do - comment "Run mediawiki refresh links table weekly" + comment "Run mediawiki refresh links table daily" minute "5" hour "0" - weekday "0" user node[:mediawiki][:user] - command "/usr/bin/nice /usr/bin/php -d memory_limit=2048M -d error_reporting=22517 #{site_directory}/w/maintenance/refreshLinks.php --server=https://#{new_resource.site} --memory-limit=2048M --quiet" + command "/usr/bin/nice /usr/bin/php -d memory_limit=2048M -d error_reporting=22517 #{site_directory}/w/maintenance/refreshLinks.php --server=https://#{new_resource.site} --memory-limit=2048M --procs=4 --quiet" end cron_d "mediawiki-#{cron_name}-cleanup-gs" do