[refs #404] Remove downloads statistics functional

This commit is contained in:
konstantin.grabar 2012-04-17 12:23:58 +04:00
parent 44ca501962
commit 1b871bf6dd
6 changed files with 5 additions and 9 deletions

View File

@ -178,9 +178,6 @@ Rosa::Application.routes.draw do
resources :event_logs, :only => :index
match 'statistics/' => 'downloads#index', :as => :downloads
match 'statistics/refresh' => 'downloads#refresh', :as => :downloads_refresh
match '/forbidden', :to => 'pages#forbidden', :as => 'forbidden'
match '/terms-of-service', :to => 'pages#tos', :as => 'tos'

View File

@ -7,12 +7,6 @@
# runner "Download.parse_and_remove_nginx_log"
#end
every 1.day, :at => '5:00' do
#rake "sudo_test:projects"
runner "Download.rotate_nginx_log"
runner "Download.parse_and_remove_nginx_log"
end
every 1.day, :at => '4:00 am' do
rake "import:sync:all", :output => 'log/sync.log'
end

View File

@ -0,0 +1,5 @@
every 1.day, :at => '5:00' do
#rake "sudo_test:projects"
runner "Download.rotate_nginx_log"
runner "Download.parse_and_remove_nginx_log"
end