Use Sinatra config in whenever

This commit is contained in:
ricola 2026-03-01 13:18:32 -06:00
parent 495d29a0ae
commit 54d721abd4
4 changed files with 11 additions and 9 deletions

View file

@ -1,6 +1,6 @@
if ENV['RACK_ENV']
set :environment, ENV['RACK_ENV']
end
require_relative '../vedia'
set :environment_variable, 'RACK_ENV'
every 5.minutes do
rake "close_expired_votes"