data-transfer-test/config/schedule.rb

10 lines
163 B
Ruby
Raw Permalink Normal View History

2021-10-08 00:32:28 +00:00
set :environment, ENV["RACK_ENV"]
set :output, '/var/log/cron.log'
ENV.each_key do |key|
env key.to_sym, ENV[key]
end
every 5.minutes do
rake "rate:save"
end