mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-22 02:52:49 +01:00
e5815737c1
- bumped gems - rm bots - rm pry byebug - added rubocop-shopify and corrected generated warnings
13 lines
200 B
Ruby
Executable File
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
|