mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 01:47:18 +02:00
update whenever job_type
This commit is contained in:
parent
a24a700939
commit
b56e4eb0ed
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
rbenv = 'export PATH="$HOME/.rbenv/bin:$PATH";eval "$(rbenv init -)";'
|
||||
path = Whenever.path.sub(/\/releases\/.*/, '/current')
|
||||
set :job_template, "/bin/bash -l -c '#{rbenv} :job'"
|
||||
job_type :runner, "cd #{path} && bin/rails r -e :environment ':task' :output"
|
||||
job_type :runner, "cd #{path} && bin/rails r -e :environment \":task\" :output"
|
||||
|
||||
# cron output
|
||||
set :output, 'log/cron.log'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue