[Backgroundrb-devel] Scheduling one-off tasks

Joost Baaij joost at spacebabies.nl
Tue Jul 22 03:05:01 EDT 2008

Op 22 jul 2008, om 08:22 heeft hemant het volgende geschreven:

>> 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.

Throw me a bone here :) where is add_timer() defined? Ruby stdlib?

Or it is present in backgroundrb somewhere, it's not in the API docs  
(at least I can't find it).

More information about the Backgroundrb-devel mailing list