<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Any chance it's doing something off-site that it's timing out on?
That would take a lot of time.<br>
<br>
-Don-<br>
<br>
On 9/8/2010 12:26 PM, nan wich wrote:
<blockquote cite="mid:77973.96028.qm@web180313.mail.gq1.yahoo.com"
type="cite">
<style type="text/css"><!-- DIV {margin:0px;} --></style>
<div style="font-family: arial,helvetica,sans-serif; font-size:
12pt;">
<div>Nope, it's not Update. I can run cron every minute and this
happens. And I don't think I even have Update enabled on that
site.<br>
</div>
<p><font color="#ff007f" face="bookman old style, new york,
times, serif" size="4"><em><strong>Nancy</strong></em></font></p>
<p> </p>
<p><font face="arial, helvetica, sans-serif">Injustice anywhere
is a threat to justice everywhere. -- Dr. Martin L. King,
Jr.</font></p>
<div><br>
</div>
<div style="font-size: 12pt; font-family:
arial,helvetica,sans-serif;"><br>
<div style="font-size: 12pt; font-family: times new roman,new
york,times,serif;"><font face="Tahoma" size="2">
<hr size="1">
<b><span style="font-weight: bold;">From:</span></b>
Dhananjay Gandhi <a class="moz-txt-link-rfc2396E" href="mailto:dhananjay.gandhi@gmail.com"><dhananjay.gandhi@gmail.com></a><br>
<b><span style="font-weight: bold;">To:</span></b>
<a class="moz-txt-link-abbreviated" href="mailto:development@drupal.org">development@drupal.org</a><br>
<b><span style="font-weight: bold;">Sent:</span></b> Wed,
September 8, 2010 12:21:34 PM<br>
<b><span style="font-weight: bold;">Subject:</span></b>
Re: [development] Cron run exceeded the time limit and was
aborted.<br>
</font><br>
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 moz-do-not-send="true"
href="mailto:earnie@users.sourceforge.net"
target="_blank" rel="nofollow"
ymailto="mailto:earnie@users.sourceforge.net">earnie@users.sourceforge.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="padding-left: 1ex;
margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid
rgb(204, 204, 204);">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 class="moz-txt-link-freetext" href="http://progw.com">http://progw.com</a><br>
-- <a class="moz-txt-link-freetext" href="http://www.for-my-kids.com">http://www.for-my-kids.com</a><br>
</font></blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Thanks & Regards,<br>
Dhananjay Gandhi<br>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>