mirror of
https://github.com/internetee/registry.git
synced 2025-07-01 08:43:37 +02:00
crontab update
This commit is contained in:
parent
2c2e829af2
commit
3326b934ef
1 changed files with 6 additions and 6 deletions
|
@ -3,12 +3,12 @@
|
||||||
# It's helpful, but not entirely necessary to understand cron before proceeding.
|
# It's helpful, but not entirely necessary to understand cron before proceeding.
|
||||||
# http://en.wikipedia.org/wiki/Cron
|
# http://en.wikipedia.org/wiki/Cron
|
||||||
|
|
||||||
every 10.minutes do
|
|
||||||
runner 'ZonefileSetting.generate_zonefiles'
|
|
||||||
end
|
|
||||||
|
|
||||||
set :output, 'log/cron.log'
|
|
||||||
|
|
||||||
# rbenv
|
# rbenv
|
||||||
set :job_template,
|
set :job_template,
|
||||||
"/bin/bash -l -c 'export PATH=\"$HOME/.rbenv/bin:$PATH\"; eval \"$(rbenv init -)\"; :job'"
|
"/bin/bash -l -c 'export PATH=\"$HOME/.rbenv/bin:$PATH\"; eval \"$(rbenv init -)\"; :job'"
|
||||||
|
|
||||||
|
set :output, 'log/cron.log'
|
||||||
|
|
||||||
|
every 10.minutes do
|
||||||
|
runner 'ZonefileSetting.generate_zonefiles'
|
||||||
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue