[development] Queue as a supplement to cron
Neil Drumm
drumm at delocalizedham.com
Tue Mar 13 01:07:32 UTC 2007
On 3/12/07, Boris Mann <boris at bryght.com> wrote:
> On 3/12/07, Neil Drumm <drumm at 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
More information about the development
mailing list