]> git.openstreetmap.org Git - chef.git/blob - cookbooks/nominatim/templates/default/cron.erb
reworke nominatim cookbook for cmake version of nominatim
[chef.git] / cookbooks / nominatim / templates / default / 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[:postgresql][:settings][:defaults][:archive_mode] == "on" -%>
11 05 */4 * * * postgres /usr/local/bin/clean-db-nominatim
12 <% end -%>