From: Alvaro Di on 9 Mar 2010 05:09
In my app, i'm using Rufus Sheduler to shedule some automatic tasks, my
problem is that i want to set the frecuency of this task from an
Actually i have something like this: (simplify)
repeat = Rufus::Scheduler::PlainScheduler.start_new # create a shedule
repeat.every "VAR" :blocking => true do
It's works fine, but when i update "VAR" (i.e. 2s to 8s) , the frecuency
does not update the value, it continues doing the task every 2s...
What it's the way to update this value at the sheduling?
Thaks a lot!
Posted via http://www.ruby-forum.com/.
Prev: Shortest code
Next: Getting Constructor Not Found (Ruby Java Bridge, RJB)