diff --git a/clock.rb b/clock.rb index 28c98d8874..7b87290673 100644 --- a/clock.rb +++ b/clock.rb @@ -30,7 +30,7 @@ module Clockwork end end - every(4.hours, "Backup prod DB to Azure blob storage", :if => lambda { |_| Rails.env.production? }) do + every(4.hours, "Backup prod DB to Azure blob storage", if: lambda { |_| Rails.env.production? }) do rake = Rake.application rake.init rake.load_rakefile