Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (7 sloc) 379 Bytes
Using BackgrounDRb is a pain since the documentation and examples are so poor. Here's some notes on how I'm using it.
Injecting a worker
# script/console
# >> MiddleMan.new_worker(:worker => :feeds_worker, :worker_key => 2345, :do_work -> 1)
# bots/background_monitor
Should show you all of the workers currently running, including the one you just kicked off.