added custom whenever runner

This commit is contained in:
Priit Tark 2015-01-08 12:08:04 +02:00
parent 34cccf237d
commit 5120baf358

View file

@ -6,6 +6,7 @@
# rbenv
set :job_template,
"/bin/bash -l -c 'export PATH=\"$HOME/.rbenv/bin:$PATH\"; eval \"$(rbenv init -)\"; :job'"
job_type :runner, ":path/bin/rails runner -e :environment ':task' :output"
set :output, 'log/cron.log'