X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/bb1bb78e6ccae116df30a38ebcbc5fd4153764c0..b0e841d7ff50e5c5bea3a3417737c272b09dcd86:/cookbooks/nominatim/templates/default/nominatim.cron.erb diff --git a/cookbooks/nominatim/templates/default/nominatim.cron.erb b/cookbooks/nominatim/templates/default/nominatim.cron.erb index 3ad64d4d3..5ae8f3ad6 100644 --- a/cookbooks/nominatim/templates/default/nominatim.cron.erb +++ b/cookbooks/nominatim/templates/default/nominatim.cron.erb @@ -6,7 +6,8 @@ MAILTO=<%= @mailto %> <% if node[:nominatim][:enable_backup] -%> 00 3 1 * * nominatim /usr/local/bin/backup-nominatim <% end -%> -30 1 * * * postgres /usr/local/bin/vacuum-db-nominatim +20 0 * * * postgres /usr/local/bin/vacuum-db-nominatim <% if node[:nominatim][:state] == "master" -%> 05 */4 * * * postgres /usr/local/bin/clean-db-nominatim <% end -%> +18 1 * * * nominatim touch <%= @update_maintenance_trigger %>