Displaying 4 results from an estimated 4 matches for "shefield".
Did you mean:
sheffield
2008 Apr 09
3
reload_on_schedule
Hello,
Does reload_on_schedule force the worker to be reloaded even if it is
already running?
Or does it just load the worker if its not running when the schedule fires?
I want to load the worker at the scheduled time if its not running, but I
don''t want to reload the worker if its already running.
Make sense?
Thanks,
Scott
2008 Jan 28
4
Scheduling same worker/method at different times with different args
I need to run the same worker''s method twice per day with different
arguments. Unfortunately, only the second entry in the schedule is firing.
I created an experimental worker to verify this:
Worker:
class ExperimentWorker < BackgrounDRb::MetaWorker
set_worker_name :experiment_worker
def create(args = nil)
# this method is called, when worker is loaded for the first time
2008 Jan 25
2
Can schedules START a worker?
Hi there,
I''m just working on getting backgroundrb (1.0.1) up and running. I''m no
expert with ruby, etc, so I still don''t quite get a few things.
I have scheduled workers that run every few minutes. That works fine. I
have other workers that run once per day or even once per week. It doesn''t
make sense to have them running all the time. I''d
2008 Feb 02
6
Suspended start of task not suspended
Hi
I thought this should suspend the task by 1 minute, but it starts
immediately:
MiddleMan.ask_work( :worker => :bar_worker, :worker_method
=> :test_method, :trigger_args => { :start => (Time.now + 1.minute)})
Is the start argument not allowed in the new backgroundrb (mine is at
rev HEAD (=314))? What can I do about this?
I really need to suspend starting the task as I want