X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/bb1bb78e6ccae116df30a38ebcbc5fd4153764c0..027e6c6a30ad50302390f6ea56d3bbf7a49f4fdf:/cookbooks/nominatim/templates/default/nominatim.cron.erb?ds=inline 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 %>