Sha256: 630065459d23727351f0cb4ffe2f66b15154700cdd95efb2e497ce28baa2d8cf
Contents?: true
Size: 546 Bytes
Versions: 7
Compression:
Stored size: 546 Bytes
Contents
# env :PATH, ENV['PATH'] # '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin' # env :RAILS_ENV, ENV['RAILS_ENV'] # env :HOME, ENV['HOME'] # env :SHELL, ENV['SHELL'] env :MAILTO, 'your@email.com' set :output, {:error => 'log/cron_error.log', :standard => '/dev/null'} job_type :script, "cd :path && RAILS_ENV=:environment bundle exec script/:task :output" # Backup using the RAILS_ROOT/config/backup.rb backup gem script. # Schedule it using: # whenever every 1.day, :at => '2:30 am' do # every 1.minute do script 'backup' end
Version data entries
7 entries across 7 versions & 1 rubygems