[Backgroundrb-devel] schedule support on latest svn, a question

skaar skaar at waste.org
Mon Nov 20 18:34:44 EST 2006


* Eduardo Dominguez (eduardodmz at gmail.com) [061120 17:31]:
> I'm running the latest backgroundrb mainly for scheduled tasks support.
> 
> As per the documentation I created the backgroundrb_schedules.yml with
> the following:
> 
> simple_label:
>   :class: :document_sorter_worker
>   :worker_method: :do_work
>   :job: :bleh
>   :trigger_args:
>     :start: <%= Time.now + 5.seconds %>
>     :end: <%= Time.now + 10.minutes
>     :repeat_interval: 1.minute

I should probably remove the active_support reference in the docs, what
if you try to just to:

   :repeat_interval: 60

(repeat interval is in seconds)
/skaar



More information about the Backgroundrb-devel mailing list