Scheduled workflow is not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ashif Malayil
    Senior Member
    • Dec 2023
    • 171

    Scheduled workflow is not working

    Scheduled workflow stopped working, No logs. Even rebooted the server, Cleared the old logs from database.
  • Michael Schlumberger
    Junior Member
    • Mar 2023
    • 17

    #2
    Hi,

    check your PHP Version and the matching espoCRM Version.
    Maybe you updated PHP Version (Linux?).

    Michael

    Comment

    • victor
      Active Community Member
      • Aug 2022
      • 727

      #3
      Ashif Malayil,

      - Did all Scheduled Workflows stop working, or a specific one?
      - What were the last changes you made before this problem occurred?
      - Do you have Cron set up: https://docs.espocrm.com/administrat...ing-up-crontab?
      - In Administration > Scheduled Jobs > Run Scheduled Workflows check if is it Active.​ You can also try disabling and enabling Run Scheduled Workflows.
      Last edited by victor; 12-21-2023, 05:36 PM.

      Comment


      • yuri
        yuri commented
        Editing a comment
        Disabling/Enabling is not needed. Not need to suggest doing it.
    • Ashif Malayil
      Senior Member
      • Dec 2023
      • 171

      #4
      All Scheduled Workflows is not working, I haven't made any changes regarding this one. Run scheduled workflows is Active

      Comment

      • Ashif Malayil
        Senior Member
        • Dec 2023
        • 171

        #5
        Victor could you please help me with this issue, still it's not resolved?

        Comment

        • victor
          Active Community Member
          • Aug 2022
          • 727

          #6
          The most common problem is cron not configured properly: https://docs.espocrm.com/administrat...ing-up-crontab. Do you have it configured? Please make screenshot of its configuration.
          - The easiest way to check the correctness of cron operation is to pay attention to the notification in the upper right corner of the screen: if you have not received notifications for a long time, then cron is not working correctly.
          - Another method is to go for example in Administration > Scheduled Jobs > Auth Token Control and see when was the last time there was a job with the Succsess status (screenshot 1)​? By default, this scheduled job runs every 6 minutes. And if the last such job worked more than an hour ago, then cron is not working properly.
          Attached Files

          Comment

          • Ashif Malayil
            Senior Member
            • Dec 2023
            • 171

            #7
            I have checked all above mentioned. Notifications are getting updated, Auth Token Control logs are also there before 6 minutes. I have attached the crontab configuration and Auth token control logs screen shot. Please go through it and share a feedback.

            Comment

            • yuri
              Member
              • Mar 2014
              • 8440

              #8
              You have not clearly answered about "Administration > Scheduled Jobs > Run Scheduled Workflows​"​.
              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

              • Ashif Malayil
                Senior Member
                • Dec 2023
                • 171

                #9
                yuri this issue has been resolved, but in another instance Administration > Scheduled Jobs > Auth Token Contro​l last Status in 2 days back. What will be the issue?

                Comment

                Working...