]> git.openstreetmap.org Git - chef.git/commitdiff
Fix mailing of daily statistics
authorTom Hughes <tom@compton.nu>
Sun, 6 Mar 2022 11:55:37 +0000 (11:55 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 6 Mar 2022 11:55:37 +0000 (11:55 +0000)
cookbooks/web/templates/default/statistics.erb

index db1fd40edbdf4488266ea3badef3ba8b659c2220..30a23a7ac992698361991becacea9d482343183b 100644 (file)
@@ -13,4 +13,4 @@ export PATH=$PATH:/usr/local/bin
 rsync --quiet <%= @directory %>/tmp/data_stats.html planet.openstreetmap.org::statistics
 
 # Mail statistics to Blackadder
-mail -s "OpenStreetMap Statistics" blackadderajr@gmail.com < /store/rails/stats/data_stats.html
+mail -s "OpenStreetMap Statistics" blackadderajr@gmail.com < <%= @directory %>/tmp/data_stats.html