Skip to content
Permalink
Browse files

Schedule sites update daily

  • Loading branch information...
Undo1 committed Nov 29, 2017
1 parent 924e1b1 commit 11a0351bcdd99f1746834a5a21c9f0a0135000e3
Showing with 4 additions and 0 deletions.
  1. +4 −0 config/schedule.rb
@@ -9,6 +9,10 @@
runner 'ReasonsHelper.calculate_weights_for_flagging'
end

every 1.day at: "3:30 pm" do
runner 'SitesHelper.update_sites'
end

# Run moderator check about an hour before the spam waves.
# We don't want to run it *during* the spam wave,
# as that could cause us to get unrespected API backoffs.

0 comments on commit 11a0351

Please sign in to comment.
You can’t perform that action at this time.