Created
November 6, 2016 19:20
-
-
Save kopylovvlad/131aa08e9857316e3ae4d751386135a4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#app/workers/my_worker.rb | |
class MyWorker | |
include Delayed::RecurringJob | |
run_every 7.day | |
run_at ‘09:00am' | |
def perform | |
# Do work! | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment