[refs #404] Remove downloads statistics functional
This commit is contained in:
parent
44ca501962
commit
1b871bf6dd
|
@ -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'
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue