Set env to schedule.rb