• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Crons not running

Robust

Well-known member
#1
What could be the reasons for a cron not running?

I added debug lines to a cron file of mine, and honestly sometimes it isn't even being called. Sometimes when it's called, the XenForo_Error::logError isn't being processed (no errors/debug lines being logged).

Right now, the cron isn't running at all. It's set to run every minute, I've tried running it manually. It ran about half a time and hasn't ran since.

In addition to this not working, the trophy cron isn't running either.

So really, they run at random times by the looks of it and seem to skip over lines, somehow?
 

Mike

XenForo developer
Staff member
#3
If running it manually doesn't work, there's something else at play. That runs the cron "inline" so any (untrapped) error should be displayed.
 

Robust

Well-known member
#4
If running it manually doesn't work, there's something else at play. That runs the cron "inline" so any (untrapped) error should be displayed.
What else (other than add-ons) could affect a cron not running or giving errors when ran manually?
 

Mike

XenForo developer
Staff member
#5
Opcode cache issues I suppose, but I guess you'd need to trace it through from the start to confirm.