1. 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

Discussion in 'XenForo Questions and Support' started by Robust, Dec 29, 2015.

  1. Robust

    Robust Well-Known Member

    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?
  2. wang

    wang Well-Known Member

  3. Mike

    Mike XenForo Developer Staff Member

    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.
  4. Robust

    Robust Well-Known Member

    What else (other than add-ons) could affect a cron not running or giving errors when ran manually?
  5. Mike

    Mike XenForo Developer Staff Member

    Opcode cache issues I suppose, but I guess you'd need to trace it through from the start to confirm.

Share This Page