]> git.openstreetmap.org Git - chef.git/blob - cookbooks/web/templates/default/statistics.erb
tile: clean atime cut-off to 35 days. (28d: 15.8%, 35d: 7.3%, 45d: 0.8% of total...
[chef.git] / cookbooks / web / templates / default / statistics.erb
1 #!/bin/sh
2
3 # Generate new statistics
4 <%= @directory %>/script/statistics > <%= @directory %>/tmp/data_stats.html
5
6 # Move new statistics into place
7 mv -f <%= @directory %>/tmp/data_stats.html /store/rails/stats
8
9 # Mail statistics to Blackadder
10 mail -s "OpenStreetMap Statistics" blackadderajr@gmail.com < /store/rails/stats/data_stats.html