frankfurter/bin/schedule

13 lines
197 B
Plaintext
Raw Normal View History

#!/usr/bin/env ruby
# frozen_string_literal: true
require 'rufus-scheduler'
scheduler = Rufus::Scheduler.new
2018-09-11 18:59:12 +02:00
2020-04-02 15:38:07 +02:00
scheduler.cron '*/30 15,16,17 * * 1-5' do
2018-09-11 18:59:12 +02:00
`rake rates:current`
end
2018-09-11 18:59:12 +02:00
scheduler.join