Skip to content

Instantly share code, notes, and snippets.

View snikch's full-sized avatar

Mal Curtis snikch

  • inMusic
  • Auckland, New Zealand
  • 13:07 (UTC +12:00)
  • X @snikchnz
View GitHub Profile
snikch / resque.rake
Created April 12, 2012 21:46 — forked from kenmazaika/Console Output
Start and Stop tasks for resque workers the intelligent way, forking the process for speed and reduced load.
require 'resque/tasks'
namespace :resque do
task :setup => :environment
# From
desc "Restart running workers"
task :restart_workers => :environment do