Sha256: d10ff7c2eb3c9d845c7a8d07676785b7ba5ee0b5959f69dec835bc96ea538e13
Contents?: true
Size: 647 Bytes
Versions: 24
Compression:
Stored size: 647 Bytes
Contents
namespace :delayed_job do desc "Stop the delayed_job process" task :stop, :roles => :app do run "cd #{current_path}; RAILS_ENV=production bundle exec ./script/delayed_job stop" end desc "Start the delayed_job process" task :start, :roles => :app do run "cd #{current_path}; RAILS_ENV=production bundle exec ./script/delayed_job start" end desc "Restart the delayed_job process" task :restart, :roles => :app do run "cd #{current_path}; RAILS_ENV=production bundle exec ./script/delayed_job restart" end desc "delayed_job status" task :status, :roles => :app do run "ps aux | grep 'delayed_job'" end end
Version data entries
24 entries across 24 versions & 1 rubygems