I have an RoR application with a BackgrounDRb server that has a worker
which invokes a function in the worker every 5 seconds. I have this set
up in my background.yml as
---
:backgroundrb:
  :ip: 0.0.0.0
  :port: 11006
:schedules:
    :my_worker:
        :do_something:
            :trigger_args: */5 * * * * *
My question is, is there a way for my RoR application to change the
trigger_args dynamically during run-time? For instance, update the
worker to call do_something every 10 seconds? I''ve come across
load_schedule_from_args but it''s not working for me.
Thanks!
-- 
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---