]> git.openstreetmap.org Git - chef.git/blob - cookbooks/nominatim/templates/default/nominatim.cron.erb
Separate the replication and expiry tasks for tile servers
[chef.git] / cookbooks / nominatim / templates / default / nominatim.cron.erb
1 # Maintained by chef. DO NOT EDIT.
2
3 MAILTO=<%= @mailto %>
4
5 * * * * * lonvia <%= @bin_directory %>/cron_ipanalyse.py /var/log/apache2/nominatim.openstreetmap.org-access.log
6 <% if node[:nominatim][:enable_backup] -%>
7 00 3 1 * * nominatim /usr/local/bin/backup-nominatim
8 <% end -%>
9 30 1 * * * postgres /usr/local/bin/vacuum-db-nominatim
10 <% if node[:nominatim][:state] == "master" -%>
11 05 */4 * * * postgres /usr/local/bin/clean-db-nominatim
12 <% end -%>