X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/53259637f9cef468ce51524a5e6d3fe38eb52c50..4c86175022c9036999f9d8341e48cbd884448709:/cookbooks/nominatim/templates/default/cron.erb diff --git a/cookbooks/nominatim/templates/default/cron.erb b/cookbooks/nominatim/templates/default/cron.erb index 9ad9c1ff4..02894ffc5 100644 --- a/cookbooks/nominatim/templates/default/cron.erb +++ b/cookbooks/nominatim/templates/default/cron.erb @@ -3,6 +3,7 @@ MAILTO=<%= @mailto %> * * * * * lonvia <%= @bin_directory %>/cron_ipanalyse.py /var/log/apache2/nominatim.openstreetmap.org-access.log -00 2 * * * nominatim <%= @bin_directory %>/cron_vacuum.sh +<% if node[:nominatim][:enable_backup] -%> 00 3 1 * * nominatim /usr/local/bin/backup-nominatim - +<% end -%> +30 1 * * * postgres /usr/local/bin/clean-db-nominatim