Sha256: e47ca03e45093f9e12b4ccdd76b31835549b25e691a2b00fc36fe46577a7c003
Contents?: true
Size: 604 Bytes
Versions: 12
Compression:
Stored size: 604 Bytes
Contents
namespace :delayed_job do desc "Stop the delayed_job process" task :stop, :roles => :app do run "cd #{current_path}; RAILS_ENV=production script/delayed_job stop" end desc "Start the delayed_job process" task :start, :roles => :app do run "cd #{current_path}; RAILS_ENV=production script/delayed_job start" end desc "Restart the delayed_job process" task :restart, :roles => :app do run "cd #{current_path}; RAILS_ENV=production 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
12 entries across 12 versions & 1 rubygems