X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/0559aa7bdc5548f7a90b8585a6fea369e2f358ac..de170d3f58a86d561097a6afc28f3ec65a7b7f43:/cookbooks/web/templates/default/statistics.erb?ds=inline diff --git a/cookbooks/web/templates/default/statistics.erb b/cookbooks/web/templates/default/statistics.erb index a42357ba8..30a23a7ac 100644 --- a/cookbooks/web/templates/default/statistics.erb +++ b/cookbooks/web/templates/default/statistics.erb @@ -10,7 +10,7 @@ export PATH=$PATH:/usr/local/bin <%= @ruby %> -W0 <%= @directory %>/script/statistics > <%= @directory %>/tmp/data_stats.html # Move new statistics into place -mv -f <%= @directory %>/tmp/data_stats.html /store/rails/stats +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