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">&lt;<a href="mailto:earnie@users.sourceforge.net">earnie@users.sourceforge.net</a>&gt;</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>
&gt; I have a function that runs a few updates and displays a list of what it did. In<br>
&gt; order to get caught up from a long period of neglect, I decided to add it into<br>
&gt; the hook_cron. Every time I invoke cron, I get &quot;Cron run exceeded the time limit<br>
&gt; and was aborted&quot; yet it completes in far less than 30 seconds. Any ideas how my<br>
&gt; code could be inadvertantly triggering this?<br>
&gt;<br>
&gt; Nancy<br>
&gt; 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&#39;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 &amp; Regards,<br>Dhananjay Gandhi<br>