>From memory, having a destination makes the page do a drupal_goto(), which does an exit() and therefore the semphore is not cleared?<br><br><div class="gmail_quote">On Wed, Sep 8, 2010 at 2:35 PM, nan wich <span dir="ltr">&lt;<a href="mailto:nan_wich@bellsouth.net">nan_wich@bellsouth.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;"><div><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"><div></div>
<div>Ah, there is a slight difference: a destination is appended. It runs fine without the destination, but as soon as I put that on there, it bombs.<br> </div><div class="im">
<p><font color="#ff007f" face="bookman old style, new york, times, serif" size="4"><i><b>Nancy</b></i></font></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><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> Jamie Holly &lt;<a href="mailto:hovercrafter@earthlink.net" target="_blank">hovercrafter@earthlink.net</a>&gt;<br><b><span style="font-weight: bold;">To:</span></b> <a href="mailto:development@drupal.org" target="_blank">development@drupal.org</a><br>
<b><span style="font-weight: bold;">Sent:</span></b> Wed, September 8, 2010 12:55:20 PM<div><div></div><div class="h5"><br><b><span style="font-weight: bold;">Subject:</span></b> Re: [development] Cron run exceeded the time limit and was aborted.<br>
</div></div></font><div><div></div><div class="h5"><br>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&#39;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 .&#39;_&#39;. $hook;<br>    if ($hook==&#39;cron&#39;){<br>        echo &quot;$module  &lt;br /&gt;&quot;;<br>     }<br><br>That will
 give you an idea of exactly which cron implementation it&#39;s hanging up at, then you can just revert the changes in module.inc when you are done troubleshooting. <br><pre>Jamie Holly
<a href="http://www.intoxination.net" target="_blank">http://www.intoxination.net</a> 
<a href="http://www.hollyit.net" target="_blank">http://www.hollyit.net</a></pre><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> </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 color="#ff007f" face="bookman old style, new
            york, times, serif" size="4"><i><b>Nancy</b></i></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> António P. P. Almeida <a href="mailto:appa@perusio.net" rel="nofollow" target="_blank">&lt;appa@perusio.net&gt;</a><br><b><span style="font-weight: bold;">To:</span></b> <a href="mailto:development@drupal.org" rel="nofollow" target="_blank">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" rel="nofollow" target="_blank">nan_wich@bellsouth.net</a> wrote:<br><br>&gt; [1 &lt;text/plain; iso-8859-1 (quoted-printable)&gt;] Nope, it&#39;s not<br>&gt; Update. I can run cron every minute
 and this happens. And I don&#39;t<br>&gt; think I even have Update enabled on that site.    Nancy   Injustice<br>&gt; anywhere is a threat to justice everywhere. -- Dr. Martin L. King,<br>&gt; Jr.<br><br>I&#39;ll second Earnie&#39;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 &quot;.*\.\(module\|inc\)&quot; -print | xargs grep &quot;function.*_cron&quot;<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></div></div></div></blockquote></div>
<br><br clear="all"><br>-- <br>Khalid M. Baheyeldin<br><a href="http://2bits.com">2bits.com</a>, Inc.<br><a href="http://2bits.com">http://2bits.com</a><br>Drupal optimization, development, customization and consulting.<br>
Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra<br>Simplicity is the ultimate sophistication. --   Leonardo da Vinci<br>