<!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">
The link in devel is just a link to the same URL as clicking it in
the status report (/admin/reports/status/run-cron).<br>
<br>
Here's a good hacky trick I have used before to diagnose cron
problems. Go into module.inc and edit the module_invoke_all function
so it looks like this:<br>
<br>
foreach (module_implements($hook) as $module) {<br>
$function = $module .'_'. $hook;<br>
if ($hook=='cron'){<br>
echo "$module <br />";<br>
}<br>
<br>
That will give you an idea of exactly which cron implementation it's
hanging up at, then you can just revert the changes in module.inc
when you are done troubleshooting. <br>
<pre class="moz-signature" cols="72">Jamie Holly
<a class="moz-txt-link-freetext" href="http://www.intoxination.net">http://www.intoxination.net</a>
<a class="moz-txt-link-freetext" href="http://www.hollyit.net">http://www.hollyit.net</a></pre>
<br>
On 9/8/2010 12:46 PM, nan wich wrote:
<blockquote cite="mid:724264.14422.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>No I am not using drush.</div>
<div> </div>
<div>I have discovered that this only happens when I invoke cron
from the Devel menu in the admin_menu bar. If I go to
admin/reports/status and click the link there, it runs fine,
as it also does when the normal cron run happens. So I opened
an issue with Devel.<br>
</div>
<p><font size="4" color="#ff007f" face="bookman old style, new
york, times, serif"><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: 10pt; font-family:
arial,helvetica,sans-serif;"><font size="2" face="Tahoma">
<hr size="1">
<b><span style="font-weight: bold;">From:</span></b>
António P. P. Almeida <a class="moz-txt-link-rfc2396E" href="mailto:appa@perusio.net"><appa@perusio.net></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:38:40 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>
On 8 Set 2010 17h26 WEST, <a moz-do-not-send="true"
href="mailto:nan_wich@bellsouth.net"
ymailto="mailto:nan_wich@bellsouth.net">nan_wich@bellsouth.net</a>
wrote:<br>
<br>
> [1 <text/plain; iso-8859-1 (quoted-printable)>]
Nope, it's not<br>
> Update. I can run cron every minute and this happens.
And I don't<br>
> think I even have Update enabled on that site. Nancy
Injustice<br>
> anywhere is a threat to justice everywhere. -- Dr.
Martin L. King,<br>
> Jr.<br>
<br>
I'll second Earnie's suggestion for trying Elysia Cron, you
can set<br>
the cron running time for each implementation of
hook_cron().<br>
<br>
As a more hands on approach: grep the hook_cron()
implementations of the<br>
installed modules and try disabling one by one until the
problem disappears.<br>
<br>
Are you using drush? If so you can trace the root of the
problem with<br>
relative ease.<br>
<br>
find sites/all/modules/ -type f -regex ".*\.\(module\|inc\)"
-print | xargs grep "function.*_cron"<br>
<br>
Then just try<br>
<br>
drush dis -y <module><br>
<br>
and <br>
<br>
drush cron <br>
<br>
Repeat as necessary.<br>
<br>
--- appa<br>
<br>
</div>
</div>
</div>
</blockquote>
</body>
</html>