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

Eduardo Dominguez eduardodmz at gmail.com
Mon Nov 20 22:58:20 EST 2006


Skaar,

 thanks a lot, that did it. :)

On 11/20/06, skaar <skaar at waste.org> wrote:
> * 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
>
>


-- 
Lalo


More information about the Backgroundrb-devel mailing list