What about running it from /cron.php? Does it work, or does what devel does?

Could it be that your php timeout is too low? Check max_execution_time in php.ini or friends.

On Wed, Sep 8, 2010 at 12:46 PM, nan wich <nan_wich@bellsouth.net> wrote:
No I am not using drush.
 
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.
 

Nancy

 

Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.




From: António P. P. Almeida <appa@perusio.net>
To: development@drupal.org
Sent: Wed, September 8, 2010 12:38:40 PM

Subject: Re: [development] Cron run exceeded the time limit and was aborted.

On 8 Set 2010 17h26 WEST, nan_wich@bellsouth.net wrote:

> [1 <text/plain; iso-8859-1 (quoted-printable)>] 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.    Nancy   Injustice
> anywhere is a threat to justice everywhere. -- Dr. Martin L. King,
> Jr.

I'll second Earnie's suggestion for trying Elysia Cron, you can set
the cron running time for each implementation of hook_cron().

As a more hands on approach: grep the hook_cron() implementations of the
installed modules and try disabling one by one until the problem disappears.

Are you using drush? If so you can trace the root of the problem with
relative ease.

find sites/all/modules/ -type f -regex ".*\.\(module\|inc\)" -print | xargs grep "function.*_cron"

Then just try

drush dis -y <module>

and

drush cron

Repeat as necessary.

--- appa




--
Khalid M. Baheyeldin
2bits.com, Inc.
http://2bits.com
Drupal optimization, development, customization and consulting.
Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra
Simplicity is the ultimate sophistication. --   Leonardo da Vinci