On Tue, Jul 22, 2008 at 11:49 AM, Joost Baaij <[EMAIL PROTECTED]> wrote:
>
> I don't understand, which select are you referring to?
>
> Is that a method somewhere in backgroundrb?
I meant select system call, which does IO multiplexing.
>
>> Also, by "one off", you mean, a worker that starts when on schedule
>> and stops after that, you can use "reload_on_schedule true" in worker.
>
> Not entirely what I mean, I mean I only need to execute one command at one
> time in the future.
>
> So for example I only need to call the Rails method
> expire_fragment('sidebar') at 2008-07-24 21:00:00 as a one-time event.
use add_timer() { foobar() }
Thats your one off timer.
_______________________________________________
Backgroundrb-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/backgroundrb-devel