frankfurter/bin/schedule
2020-04-02 14:38:07 +01:00

13 lines
197 B
Ruby
Executable File

#!/usr/bin/env ruby
# frozen_string_literal: true
require 'rufus-scheduler'
scheduler = Rufus::Scheduler.new
scheduler.cron '*/30 15,16,17 * * 1-5' do
`rake rates:current`
end
scheduler.join