mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 01:00:44 -04:00
Update email_worker.rb
This commit is contained in:
1 parent
be3a3b920d
commit
644899c0b5
1 file changed
+1
-5
@@ -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