Correctly set environment
This commit is contained in:
@ -20,6 +20,7 @@
|
||||
# Learn more: http://github.com/javan/whenever
|
||||
|
||||
set :output, Whenever.path + '/log/whenever_$(date +%Y%m%d%H%M%S).log'
|
||||
set :environment, ENV['RAILS_ENV'] if ENV['RAILS_ENV']
|
||||
|
||||
every 1.day, at: '3:00 am' do
|
||||
rake 'detect_exercise_anomalies:with_at_least[50,50]'
|
||||
|
Reference in New Issue
Block a user