[Backgroundrb-devel] Couple questions about backgroundrb
Joe Van Dyk
joevandyk at gmail.com
Fri Sep 28 14:18:18 EDT 2007
So, If I want to set up multiple running processes that do stuff, do I
use the MiddleMan stuff? The documents are confusing me. What should
the worker classes inherit from if they need to access rails models?
On 9/28/07, Eric Pugh <epugh at opensourceconnections.com> wrote:
> I agree with the -1 of cron.. it is a slippery slope.. You think
> "Oh, I'll just cron this one job", and before you know it you have 5
> or 10 of them.. And no way to monitor them from the webapp... So
> you start communicating via database tables..
> And then you deploy on a new server, and forget to check the crontab
> because it's under some sort of special user account! BackgroundRB
> is much better..
> But I agree that it needs another release.. I have a version that
> isn't trunk latest that works great for me, but when I tried trunk I
> had lots of errors so went back to what worked. Joe, I can zip it
> and send it to you.. Not sure what "version" of backgroundrb it is
> On Sep 28, 2007, at 12:38 PM, Joe Van Dyk wrote:
> > cron only runs once a minute, some tasks need more frequent updates.
> > Also, would prefer not to have to set up cron -- it's a pain to make
> > sure that the environment gets set up properly. And then the
> > configuration is kept in multiple places.
> > On 9/28/07, Chris Hall <christopher.k.hall at gmail.com> wrote:
> >> cron + script/runner
> >> On 9/28/07, Joe Van Dyk <joevandyk at gmail.com> wrote:
> >>> So, what's the status of this project? I'm a little confused. The
> >>> documentation at http://backgroundrb.rubyforge.org seems out of
> >>> date.
> >>> It refers to http://svn.devjavu.com/backgroundrb/tags/release-0.2.1,
> >>> which doesn't work.
> >>> All I want is a way to easily set up tasks that should run
> >>> periodically. Some stuff should run every 10 seconds, some stuff
> >>> once
> >>> a day, etc. The tasks will need to access Rails models and save
> >>> data.
> >>> There's maybe 10 or so different periodic tasks.
> >>> What version should I be using? trunk? 0.2.1? Do you guys need a
> >>> project hosting space? How can I help?
> >>> Joe
> >>> _______________________________________________
> >>> Backgroundrb-devel mailing list
> >>> Backgroundrb-devel at rubyforge.org
> >>> http://rubyforge.org/mailman/listinfo/backgroundrb-devel
> > _______________________________________________
> > Backgroundrb-devel mailing list
> > Backgroundrb-devel at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/backgroundrb-devel
> Eric Pugh | Principal | OpenSource Connections, LLC | 434.466.1467 |
> Backgroundrb-devel mailing list
> Backgroundrb-devel at rubyforge.org
More information about the Backgroundrb-devel