mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 09:24:23 -05:00
Update email_worker.rb
This commit is contained in:
@@ -12,11 +12,7 @@
|
|||||||
class EmailWorker
|
class EmailWorker
|
||||||
include Sidekiq::Worker
|
include Sidekiq::Worker
|
||||||
|
|
||||||
def perform(email, count)
|
def perform()
|
||||||
# email something
|
# email something
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
every :sunday do # Many shortcuts available: :hour, :day, :month, :year, :reboot
|
|
||||||
runner "EmailWorker.perform_async"
|
|
||||||
end
|
|
||||||
|
|||||||
Reference in New Issue
Block a user