Sha256: cbcc266e0816d8fdbff7545deaf2911ea9fc92073a1b5fa5107e7a9605116a33
Contents?: true
Size: 422 Bytes
Versions: 4
Compression:
Stored size: 422 Bytes
Contents
namespace :whenever do desc 'Whenever gem installing.' task :setup do run 'gem install whenever --no-ri --no-rdoc' end desc 'Update the crontab file' task :update_crontab, :roles => :db do run "cd #{current_path} && whenever --update-crontab #{application}" end after 'deploy:setup', 'whenever:setup' after 'deploy', 'whenever:update_crontab' after 'deploy:cold', 'whenever:update_crontab' end
Version data entries
4 entries across 4 versions & 1 rubygems