[development] Why is drupal_page_footer() triggering cron?

Patrick Drotleff patrick.d at ventral.org
Thu Jul 14 20:20:58 UTC 2011


Hi,

Maybe also a good alternative to poormanscron and crontab is the Croninfinite module. It's still a sanbox Project but it works fine for me for a month now, very simple and without struggeling with the crontab command.

Cheers
Von meinem drahtlosen BlackBerry®-Handheld gesendet

-----Original Message-----
From: Steve Ringwood <nevets at tds.net>
Sender: development-bounces at drupal.org
Date: Thu, 14 Jul 2011 14:20:50 
To: <development at drupal.org>
Reply-To: development at drupal.org, nevets at mailbag.com
Subject: Re: [development] Why is drupal_page_footer() triggering cron?

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/bccc2239/attachment.html 


More information about the development mailing list