]> git.openstreetmap.org Git - chef.git/commitdiff
Make sure tile cleanup issues are reported properly
authorTom Hughes <tom@compton.nu>
Mon, 16 Sep 2013 12:57:22 +0000 (13:57 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 16 Sep 2013 12:57:22 +0000 (13:57 +0100)
cookbooks/tile/templates/default/cleanup-tiles.cron.erb

index 7c235a99c5b9aaf9665326ac112fb0fd1f7efea9..86b12ff3f2bb2d377f7cdc0323014849d14eedff 100644 (file)
@@ -1,5 +1,7 @@
 # DO NOT EDIT - This file is being maintained by Chef
 
 # DO NOT EDIT - This file is being maintained by Chef
 
+MAILTO=admins@openstreetmap.org
+
 <% @directories.each do |directory| -%>
 0 1 * * * www-data ionice -c 3 /usr/local/bin/cleanup-tiles <%= directory %>
 <% end -%>
 <% @directories.each do |directory| -%>
 0 1 * * * www-data ionice -c 3 /usr/local/bin/cleanup-tiles <%= directory %>
 <% end -%>