Thanks for this.. but is this what's causes the error of tasks not running? I'd rather not implement code if it isn't going to fix the problem :)
Because on the backgroundrb site it says "You must use worker_key if worker was started with a worker_key" which tells me that this worker key is optional. And it seems so because most of my backgroundrb tasks run. Ramon Tayag On Wed, Nov 19, 2008 at 4:19 AM, Samer Masry <[EMAIL PROTECTED]> wrote: > Here's an example > If you are using a worker with a key then you need to use something like > > worker = MiddleMan.new_worker( :worker => :mail_worker, :worker_key => > 'test') > now if you do a MiddleMan.all_worker_info you will then see your worker with > the key > > > To access your worker simply do MiddleMan.worker( :mail_worker, 'test' ) > > > On Tue, Nov 18, 2008 at 11:31 AM, Ramon Tayag <[EMAIL PROTECTED]> wrote: >> >> Actually, I'm not doing any of that... I just followed the code below >> here: http://backgroundrb.rubyforge.org/ >> >> It worked, at least for the most part. >> >> Ramon Tayag >> >> On Wed, Nov 19, 2008 at 2:11 AM, Samer Masry <[EMAIL PROTECTED]> wrote: >> > How are you creating the worker? > > _______________________________________________ Backgroundrb-devel mailing list [email protected] http://rubyforge.org/mailman/listinfo/backgroundrb-devel
