Forum: Ruby on Rails BackgrounDRb - Dynamic Schedules

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Trevor D. (Guest)
on 2009-04-06 20:41
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

  :port: 11006
            :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.

This topic is locked and can not be replied to.