[development] Why is drupal_page_footer() triggering cron?

Steve Ringwood nevets at tds.net
Thu Jul 14 19:20:50 UTC 2011


Ernst

     Look under Administration » Configuration » System » Cron

         You can set the frequency to never in which case you would
         need a cron job configured for the cron tasks to actually run.

Nevets

On 7/14/2011 1:11 PM, Ernst Plüss wrote:
> Hi
>
> In D7 I discovered at the end of drupal_page_footer()[1] cron jobs are
> started. On our website this triggers the search index being updated,
> which can take minutes. Needles to say that the user doesn't want to
> wait for this to be finished.
>
> I'm curious whether cron is relay called at the end of each page
> request? My understanding of hook_cron is that it is only called by
> cron.php.
>
> How can I make sure that this does not trigger any long running cron jobs?
>
> Regards
> Ernst
>
>
>
> [1]http://api.drupal.org/api/drupal/includes--common.inc/function/drupal_page_footer/7
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20110714/dc97955d/attachment.html 


More information about the development mailing list