completed SMS gateway project
This commit is contained in:
8
app/jobs/reset_daily_counters_job.rb
Normal file
8
app/jobs/reset_daily_counters_job.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
class ResetDailyCountersJob < ApplicationJob
|
||||
queue_as :default
|
||||
|
||||
def perform
|
||||
Gateway.reset_daily_counters!
|
||||
Rails.logger.info("Reset daily counters for all gateways")
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user