Finally i''m using the database for sync the process of all my servers
running backgroundrb. I found intersting things in the "Quartz"
project
that backgroundrb could implement.
Cheers,
José Antonio
Jose Jsilva wrote:> Hi,
>
> I''m currently working with backgroundrb and need some help with
workers
> triggers.
>
> I have two app servers with the same rails application and one worker
> that executes every day at 00:00. In my backgroundrb config file I setup
> a memcache server for the results sharing, but the work is executing in
> both servers.
>
> My problem is that i had the same job executing twice =(
>
> How i can do a job that only run in only one machine per time? Can
> backgroundrb take aware of this and only run the worker in one machine?
>
> Sorry my bad english,
>
> Cheers!
> José Antonio
> (from Chile)
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---