2 questions
in Rails 4Configuring crontab on Capistrano3+wheneverI'd like to set up settings for each environment on schedule.rb, is it possible?#schedule.rbset: output, 'log/crontab.log'every —hour do rake xxxxx...
Use whenever to record the run time of the Lake task in the Rails projectconfig/schedule.rbjob_type:rbenv_rake, %q {PATH=/opt/rbenv/bin:/usr/local/bin:$PATH;eval$(rbenv init-); cd:path&&:e...
© 2024 OneMinuteCode. All rights reserved.