Seems like my Drupal is falling apart lately.. I have several problems i've posted (none of which have any replies yet..hint hint..) - here is my newest problem - maybe it's simple enough that someone can help.

My scheduled cron.php jobs stopped running - or at least stopped updating "cron completed" in the watchdog.

  • cron.php works fine if i run it from my webbrowser and displays "cron completed" in watchdog
  • I know the scheduler is firing-off the job because i added a quick mailTo: at the beginning, and those are working.

I've searched and i find nothing helpful. If anyone has any ideas, or at least some troubleshooting tips i would be eternally grateful!

Comments

nofue’s picture

Servus.

Could you please post the crontab file in question? It's bad guesswork this way...

However, you can check the output of the cron job, either redirecting it to a file of using the verbose option on the command line. This should give you some hints. Maybe something not spelled correctly, or some issues with other statements which break the cron job?

Norbert

-- form follows function

Norbert

-- form follows function

iedude@remote.insidetheie.com’s picture

thank you for your reply, but i think i found the root of the problem.

By disabling all non-core modules one-by-one, I found that everything went normal as soon as i disabled the TROLL.MODULE ..
So, with TROLL removed, everything is back to normal.. now, the real question is why is TROLL breaking it? I have a post from a few days ago (that nobody has replied to) about TROLL causing this error:
PHP Fatal error: Call to undefined function drupal_set_header() in /hermes/web03/b34/account/htdocs/modules/troll/troll.module on line 17

If anyone has any ideas, please reply to My Troll Problem post

philalonso’s picture

The same thing happened to me. I updated Captcha and added translation helper for the flag module. I noticed today that Cron hadn't run for three days. Those were the only changes I could think of. It had been running for a month since I set it up on the server. Now, I have to run cron manually until I figure out the problem.

Does anyone have any suggestions?

I also installed poormanscron, but it does not seem to run cron regularly either.

Thanks,