Update email_worker.rb

This commit is contained in:
2017-01-27 12:04:58 -05:00
committed by GitHub
parent d546eb026f
commit be3a3b920d

View File

@@ -15,8 +15,8 @@ class EmailWorker
def perform(email, count) def perform(email, count)
# email something # email something
end end
end
every :sunday do # Many shortcuts available: :hour, :day, :month, :year, :reboot
runner "EmailWorker.perform_async" every :sunday do # Many shortcuts available: :hour, :day, :month, :year, :reboot
end runner "EmailWorker.perform_async"
end end