update hot_score for votes daily

This commit is contained in:
Julian Herrero
2018-12-18 09:39:54 +01:00
parent 5f8558a636
commit 45353089a7

View File

@@ -26,3 +26,7 @@ end
every 1.day, at: '5:00 am' do
rake "-s sitemap:refresh"
end
every 1.day, at: '3:00 am', roles: [:cron] do
rake "votes:reset_hot_score"
end