frankfurter/bin/schedule
Hakan Ensari e5815737c1
Spring cleaning
- bumped gems
- rm bots
- rm pry byebug
- added rubocop-shopify and corrected generated warnings
2024-11-20 14:14:27 +01:00

13 lines
200 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
%x(rake rates:current)
end
scheduler.join