On 3/12/07, Boris Mann <boris@bryght.com> wrote:
On 3/12/07, Neil Drumm <drumm@delocalizedham.com> wrote:
I sometimes find myself building a queue in a hook_cron() implementation. I decided to make a separate module for this, job_queue, http://drupal.org/project/job_queue. It provides an API which takes a function name and array of arguments for later execution on cron. The only UI is a list of queued function calls.
Is this functionality something that people would like to see in core? Search module has a 'queue' of unindexed content, would it benefit from having an abstracted queue?
aggregator (and other, contrib-based aggregation) would benefit from this as well, I believe.
Those happen regularly, so cron is best. Ping module could use this since you want to queue those HTTP requests for later. -- Neil Drumm http://delocalizedham.com