* fixing bad schedules on scheduler.yml, and wip on admin web reporting
This commit is contained in:
parent
6a037d9987
commit
adb0b15555
|
|
@ -0,0 +1,37 @@
|
|||
ActiveAdmin.register JamRuby::ScoreHistory, :as => 'Score History' do
|
||||
menu :parent => 'Score'
|
||||
|
||||
config.batch_actions = false
|
||||
config.clear_action_items!
|
||||
config.filters = true
|
||||
filter :score_dt
|
||||
|
||||
index do
|
||||
column :score
|
||||
column :score_dt
|
||||
|
||||
column :from_client_id
|
||||
column :from_user_id
|
||||
column :from_latency_tester_id
|
||||
column :from_addr
|
||||
column :from_isp
|
||||
column :from_country
|
||||
column :from_region
|
||||
column :from_city
|
||||
column :from_postal
|
||||
column :from_latitude
|
||||
column :from_longitude
|
||||
|
||||
column :to_client_id
|
||||
column :to_user_id
|
||||
column :to_latency_tester_id
|
||||
column :to_addr
|
||||
column :to_isp
|
||||
column :to_country
|
||||
column :to_region
|
||||
column :to_city
|
||||
column :to_postal
|
||||
column :to_latitude
|
||||
column :to_longitude
|
||||
end
|
||||
end
|
||||
|
|
@ -39,7 +39,7 @@ module JamRuby
|
|||
b.latitude AS to_latitude,
|
||||
b.longitude AS to_longitude,
|
||||
s.score AS score,
|
||||
s.score_dt AS score_dt,
|
||||
s.score_dt AS created_at,
|
||||
s.scoring_data AS scoring_data
|
||||
FROM scores s
|
||||
JOIN geoiplocations a ON a.locid = (s.alocidispid / 1000000)
|
||||
|
|
|
|||
|
|
@ -40,12 +40,12 @@ NewMusicianEmailer:
|
|||
description: "Sends weekly emails of new users with good latency"
|
||||
|
||||
MusicSessionScheduler:
|
||||
cron: "0 */5 0 * *"
|
||||
cron: "0 * * * *"
|
||||
class: "JamRuby::MusicSessionScheduler"
|
||||
description: "Schedules music sessions that are marked as recurring"
|
||||
|
||||
ActiveMusicSessionCleaner:
|
||||
cron: "0 */5 0 * *"
|
||||
cron: "* * * * *"
|
||||
class: "JamRuby::ActiveMusicSessionCleaner"
|
||||
description: "Removes any active music sessions that are stale."
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue