Scheduled Jobs Pending Jobs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • LuckyLouie
    Senior Member
    • Nov 2017
    • 172

    Scheduled Jobs Pending Jobs

    Hi,
    I can see that such processes as: "Note: processNoteAclJob" and "Stream: afterRecordCreatedJob" do not change execution status. They have the "Pending" status all the time.
    EspoCRM 6.1.4.
    Thank You for help.
    Edit:
    I noticed that after purging jobs with the "Pending" status, the "Process Pending Flows" job continues correctly until the first job " Process Job Queue q1" comes up. After this, the job "Process Pending Flows" stops appearing in the planned job and there are more and more processes with "Pending" status that don't execute.
    I don't see any mention of the problem in the logs. Please help.
    Last edited by LuckyLouie; 04-09-2021, 06:10 AM.
  • LuckyLouie
    Senior Member
    • Nov 2017
    • 172

    #2
    yuri Could you help? Which may be the reason why the jobs in q1 are not running and block the "Process Pending Flows" as a result.

    Comment

    • yuri
      Member
      • Mar 2014
      • 8440

      #3
      You need to find out why this job is not being running https://github.com/espocrm/espocrm/b...JobQueueQ1.php

      There should be the system scheduled job in your scheduled_job table.

      System jobs are automatically created upon rebuilding according this definitions: https://github.com/espocrm/espocrm/b...dJob.json#L100

      I'm too busy to provide more help at the moment. This functionality works fine on our systems.
      Last edited by yuri; 04-22-2021, 09:43 AM.
      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

      • LuckyLouie
        Senior Member
        • Nov 2017
        • 172

        #4
        I reconfigured the settings for Scheduled Jobs from Cron to Demon and turned on Jobs Run in Parallel. Now the problem does not occur.
        Thank you.

        Comment

        Working...