<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>If I comment that line out, the problem goes away, so yes, I am reasonably convinced it is my function.</DIV>
<DIV> </DIV>
<DIV>I can clearly see it returning in far less than even 30 seconds, so there is no way it's taking 240.<BR> </DIV>
<P><FONT face="bookman old style, new york, times, serif" color=#ff007f 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: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"><FONT face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Earnie Boyd <earnie@users.sourceforge.net><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 12:08:25 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>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><BR>-- <BR>Earnie<BR>-- http://progw.com<BR>-- http://www.for-my-kids.com<BR></DIV></DIV></div></body></html>