hey<br><br>cron takes time in cheching updates of ur drupal version and its modules.<br>If u deactivate the update module then it will not take time.<br><br><div class="gmail_quote">On Wed, Sep 8, 2010 at 9:38 PM, Earnie Boyd <span dir="ltr"><<a href="mailto:earnie@users.sourceforge.net">earnie@users.sourceforge.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">nan wich wrote:<br>
> I have a function that runs a few updates and displays a list of what it did. In<br>
> order to get caught up from a long period of neglect, I decided to add it into<br>
> the hook_cron. Every time I invoke cron, I get "Cron run exceeded the time limit<br>
> and was aborted" yet it completes in far less than 30 seconds. Any ideas how my<br>
> code could be inadvertantly triggering this?<br>
><br>
> Nancy<br>
> Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.<br>
<br>
Are you sure it is your code? Try using Elysia Cron to schedule the<br>
hook_cron of different modules. The cron API gives 240 seconds for all<br>
hook_cron to execute, if all the modules exceed the 240 seconds then<br>
you'll see the exceeded time limit message.<br>
<font color="#888888"><br>
--<br>
Earnie<br>
-- <a href="http://progw.com" target="_blank">http://progw.com</a><br>
-- <a href="http://www.for-my-kids.com" target="_blank">http://www.for-my-kids.com</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Thanks & Regards,<br>Dhananjay Gandhi<br>