<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:12pt"><DIV></DIV>
<DIV>In this case, I can count to 5 and it's back, so it is clearly not taking long enough to time out.<BR>&nbsp;</DIV>
<P><FONT face="bookman old style, new york, times, serif" color=#ff007f size=4><EM><STRONG>Nancy</STRONG></EM></FONT></P>
<P>&nbsp;</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> Khalid Baheyeldin &lt;kb@2bits.com&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> development@drupal.org<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Wed, September 8, 2010 1:17:28 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>A better approach for timing cron stuff here http://drupal.org/node/131536#comment-1117255<BR><BR>There is a variable to turn this on or off on demand.<BR><BR>On Wed, Sep 8, 2010 at 12:55 PM, Jamie Holly <SPAN dir=ltr>&lt;<A href="mailto:hovercrafter@earthlink.net" target=_blank rel=nofollow ymailto="mailto:hovercrafter@earthlink.net">hovercrafter@earthlink.net</A>&gt;</SPAN> wrote:<BR>
<DIV class=gmail_quote>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>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>&nbsp; foreach (module_implements($hook) as $module) {<BR>&nbsp;&nbsp;&nbsp; $function = $module .'_'. $hook;<BR>&nbsp;&nbsp;&nbsp; if ($hook=='cron'){<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; echo "$module&nbsp; &lt;br /&gt;";<BR>&nbsp;&nbsp;&nbsp;&nbsp; }<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><FONT color=#888888><PRE>Jamie Holly
http://www.intoxination.net 
http://www.hollyit.net</PRE></FONT>
<DIV>
<DIV></DIV>
<DIV class=h5><BR>On 9/8/2010 12:46 PM, nan wich wrote: 
<BLOCKQUOTE type="cite">
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif">
<DIV>No I am not using drush.</DIV>
<DIV>&nbsp;</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>&nbsp;</DIV>
<P><FONT face="bookman old style, new&#10;            york, times, serif" color=#ff007f size=4><I><B>Nancy</B></I></FONT></P>
<P>&nbsp;</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 face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> António P. P. Almeida <A href="mailto:appa@perusio.net" target=_blank rel=nofollow ymailto="mailto:appa@perusio.net">&lt;appa@perusio.net&gt;</A><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> <A href="mailto:development@drupal.org" target=_blank rel=nofollow ymailto="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 href="mailto:nan_wich@bellsouth.net" target=_blank rel=nofollow ymailto="mailto:nan_wich@bellsouth.net">nan_wich@bellsouth.net</A> wrote:<BR><BR>&gt; [1 &lt;text/plain; iso-8859-1 (quoted-printable)&gt;] Nope, it's not<BR>&gt; Update. I can run cron every minute and this happens. And I don't<BR>&gt; think I even have
 Update enabled on that site. &nbsp;&nbsp; Nancy &nbsp; Injustice<BR>&gt; anywhere is a threat to justice everywhere. -- Dr. Martin L. King,<BR>&gt; 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 &lt;module&gt;<BR><BR>and <BR><BR>drush cron <BR><BR>Repeat as necessary.<BR><BR>--- appa<BR><BR></DIV></DIV></DIV></BLOCKQUOTE></DIV></DIV></DIV></BLOCKQUOTE></DIV><BR><BR clear=all><BR>-- <BR>Khalid M. Baheyeldin<BR><A href="http://2bits.com/" target=_blank
 rel=nofollow>2bits.com</A>, Inc.<BR>http://2bits.com<BR>Drupal optimization, development, customization and consulting.<BR>Simplicity is prerequisite for reliability. --&nbsp; Edsger W.Dijkstra<BR>Simplicity is the ultimate sophistication. --&nbsp;&nbsp; Leonardo da Vinci<BR></DIV></DIV></div></body></html>