From 3d0c69fbf337d5cdae80a26ff25f0f8c9018431f Mon Sep 17 00:00:00 2001 From: Hakan Ensari Date: Tue, 10 Mar 2015 12:08:51 +0000 Subject: [PATCH] Redefine rake job type --- config/schedule.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/schedule.rb b/config/schedule.rb index 21aa0ed..94c1965 100644 --- a/config/schedule.rb +++ b/config/schedule.rb @@ -1,3 +1,5 @@ +job_type :rake, 'cd :path && foreman run bundle exec rake :task --silent :output' + every '0 13,14,15,16,17 * * 1-5' do - command "foreman run bundle exec rake rates:update" + rake "rates:update" end