]> git.openstreetmap.org Git - chef.git/blob - cookbooks/nominatim/templates/default/nominatim.cron.erb
Whitelist all rails frontends for nominatim
[chef.git] / cookbooks / nominatim / templates / default / nominatim.cron.erb
1 # Maintained by chef. DO NOT EDIT.
2
3 MAILTO=<%= @mailto %>
4
5 <% if node[:nominatim][:enable_backup] -%>
6 00 3 1 * * nominatim /usr/local/bin/backup-nominatim
7 <% end -%>
8 20 0 * * * postgres /usr/local/bin/vacuum-db-nominatim
9 <% if node[:nominatim][:state] == "master" -%>
10 05 */4 * * * postgres /usr/local/bin/clean-db-nominatim
11 <% end -%>
12 18 1 * * * nominatim touch <%= @update_maintenance_trigger %>