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"
end
mediawiki_extension "QuickInstantCommons" do
site new_resource.site
update_site false
- reference "master"
end
else
mediawiki_extension "QuickInstantCommons" do