Hello, Does reload_on_schedule force the worker to be reloaded even if it is already running? Or does it just load the worker if its not running when the schedule fires? I want to load the worker at the scheduled time if its not running, but I don''t want to reload the worker if its already running. Make sense? Thanks, Scott
reload_on_schedule will not force your existing workers to be reloaded, but rather it will start new one if one is already running. On 4/10/08, Scott Ward <scott at shefield.com> wrote:> Hello, > > Does reload_on_schedule force the worker to be reloaded even if it is > already running? > > Or does it just load the worker if its not running when the schedule fires? > > I want to load the worker at the scheduled time if its not running, but I > don''t want to reload the worker if its already running. > > Make sense? > > Thanks, > > Scott > > _______________________________________________ > Backgroundrb-devel mailing list > Backgroundrb-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/backgroundrb-devel >-- Let them talk of their oriental summer climes of everlasting conservatories; give me the privilege of making my own summer with my own coals. http://gnufied.org
And, also, it will start a new one if the worker is not running at all, correct? Thanks, Scott -----Original Message----- From: hemant [mailto:gethemant at gmail.com] Sent: Wednesday, April 09, 2008 9:16 PM To: Scott Ward Cc: backgroundrb-devel at rubyforge.org Subject: Re: [Backgroundrb-devel] reload_on_schedule reload_on_schedule will not force your existing workers to be reloaded, but rather it will start new one if one is already running. On 4/10/08, Scott Ward <scott at shefield.com> wrote:> Hello, > > Does reload_on_schedule force the worker to be reloaded even if it is > already running? > > Or does it just load the worker if its not running when the schedulefires?> > I want to load the worker at the scheduled time if its not running, > but I don''t want to reload the worker if its already running. > > Make sense? > > Thanks, > > Scott > > _______________________________________________ > Backgroundrb-devel mailing list > Backgroundrb-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/backgroundrb-devel >-- Let them talk of their oriental summer climes of everlasting conservatories; give me the privilege of making my own summer with my own coals. http://gnufied.org
On Thu, 2008-04-10 at 08:22 -0700, Scott Ward wrote:> And, also, it will start a new one if the worker is not running at all, > correct?Yes thats right. You can see master_worker.rb code for example.> > Thanks, > > Scott > > -----Original Message----- > From: hemant [mailto:gethemant at gmail.com] > Sent: Wednesday, April 09, 2008 9:16 PM > To: Scott Ward > Cc: backgroundrb-devel at rubyforge.org > Subject: Re: [Backgroundrb-devel] reload_on_schedule > > reload_on_schedule will not force your existing workers to be reloaded, but > rather it will start new one if one is already running. > > On 4/10/08, Scott Ward <scott at shefield.com> wrote: > > Hello, > > > > Does reload_on_schedule force the worker to be reloaded even if it is > > already running? > > > > Or does it just load the worker if its not running when the schedule > fires? > > > > I want to load the worker at the scheduled time if its not running, > > but I don''t want to reload the worker if its already running. > > > > Make sense? > > > > Thanks, > > > > Scott > > > > _______________________________________________ > > Backgroundrb-devel mailing list > > Backgroundrb-devel at rubyforge.org > > http://rubyforge.org/mailman/listinfo/backgroundrb-devel > > > > > -- > Let them talk of their oriental summer climes of everlasting conservatories; > give me the privilege of making my own summer with my own coals. > > http://gnufied.org > > _______________________________________________ > Backgroundrb-devel mailing list > Backgroundrb-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/backgroundrb-devel