Batch API requires JavaScript and does not run during cron. On Fri, Oct 9, 2009 at 10:39 AM, Neil Hastings <neil.hastings@gmail.com> wrote:
I'm not sure if the batch process that is built into core can be used with cron but you can try that http://api.drupal.org/api/group/batch/6.
Cheers, Neil
On Fri, Oct 9, 2009 at 10:34 AM, Cameron Eagans <cweagans@gmail.com> wrote:
No. If the amount of work being done in hook_cron is enough to cause PHP to time out, you should probably break it up into smaller chunks and look at the Job Queue module (essentially create a list of things to do and have cron run a few items from that list on each cron run)
Hope that helps! --- Cameron Eagans Owner, Black Storms Studios, LLC. http://www.blackstormsstudios.com
On Oct 9, 2009, at 8:41 AM, luca capra <luca.capra@gmail.com> wrote:
Hi,
in a custom module I've implemented hook_cron, but after a call to cron.php I get in watchdog a message about cron timeout. Need I to use register_shutdown_function ? Thank you.
Regards, Luca
-- Ken Rickard agentrickard@gmail.com http://ken.therickards.com