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)
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)