Questions about Scheduled Jobs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Peanut
    Junior Member
    • Mar 2025
    • 3

    #1

    Questions about Scheduled Jobs

    Hello everyone,

    I found that some of my tasks in Jobs would show the status of Running or Failed, which would cause the system's Cron tasks to continue running until the server was overloaded and crashed.

    I checked my email and it's connected fine. Does anyone know how to solve this situation?

    Espocrm Version: 9.0.6
  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9211

    #2
    Hello,

    It can happen if the PHP script fails due to a memory limit exhaustion. In this case, the job cannot mark itself as failed. The system will mark such a job as failed after a specific period expires (a few hours).
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    Working...