[Linux] Problem with cron and tasks

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Adam_KSA
    Junior Member
    • Mar 2022
    • 18

    [Linux] Problem with cron and tasks

    HI All.

    After upgrade espoCRM from 7.0.9 to 7.0.9 cron has stopped working. I added additional cron commands as root and www-data user, but problem is still existing.

    Information from Admin Panel:
    "Scheduled tasks are not running. Therefore, incoming emails, notifications and reminders do not work. Follow [instructions] (https://www.espocrm.com/documentatio...etup-a-crontab) to configure the cron jobs."

    Any suggetions ?

  • lazovic
    Super Moderator
    • Jan 2022
    • 809

    #2
    Hello Adam,

    Please try to use sudo:

    sudo crontab -e

    Comment

    • Adam_KSA
      Junior Member
      • Mar 2022
      • 18

      #3
      I've already used sudo command but also without results.

      Comment

      • lazovic
        Super Moderator
        • Jan 2022
        • 809

        #4
        Try removing the Espo cron commands for all users (root, www-data and others) so that the commands are not duplicated anywhere, and paste the command exclusively in "sudo crontab -e".

        Comment

        • Adam_KSA
          Junior Member
          • Mar 2022
          • 18

          #5
          I did this, but also the same error.
          Sorry for Polsh version

          Comment

          • Adam_KSA
            Junior Member
            • Mar 2022
            • 18

            #6
            It looks like the command is running but without the results.

            Comment

            • Adam_KSA
              Junior Member
              • Mar 2022
              • 18

              #7
              Up - any ideas?

              Comment

              • lazovic
                Super Moderator
                • Jan 2022
                • 809

                #8
                Adam,

                Please send the error log. Maybe there is something related to the cron in it.

                Comment

                Working...