mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 02:39:37 +02:00
added correct whenever path
This commit is contained in:
parent
5120baf358
commit
6a1f346052
1 changed files with 5 additions and 3 deletions
|
@ -3,11 +3,13 @@
|
|||
# It's helpful, but not entirely necessary to understand cron before proceeding.
|
||||
# http://en.wikipedia.org/wiki/Cron
|
||||
|
||||
# rbenv
|
||||
# rbenv support
|
||||
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 :path, Rails.root.join('../../current'
|
||||
job_type :runner, ":path/bin/rails r -e :environment ':task' :output"
|
||||
|
||||
# cron output
|
||||
set :output, 'log/cron.log'
|
||||
|
||||
every 10.minutes do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue