Last active
January 15, 2021 12:43
-
-
Save kinnalru/83c1ed5a189e70fa56605116dc5cac91 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
require 'rufus-scheduler' | |
scheduler = Rufus::Scheduler.new.tap do |s| | |
s.in '1h' do | |
RefreshCurrencyJob.perform_later | |
end | |
end | |
scheduler.join |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment