Announcement

Collapse
No announcement yet.

Unable to setup CRON using Plesk

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Unable to setup CRON using Plesk

    Hi

    Newbie here. I have installed EspoCRM and it is working fine, but I have not been able to get the cron working in Plesk. Has anyone out there setup EspoCRM on a domain managed by Plesk that could share a screenshot of how they setup the cron?

    Thanks.....

    Les

  • #2
    Hello,
    i don't use Plesk
    https://support.plesk.com/hc/en-us/a...s/115003121073

    * * * * *
    /usr/bin/php -f /var/www/html/espocrm/cron.php > /dev/null 2>&1

    verify path (in bold above) for this :
    go in espocrm -> admin -> sheduledJobs : you see path there

    Comment


    • #3
      Hi, see my screenshot. Maybe your GUI might look a bit different, but I think it is understandable.

      Comment


      • #4
        ok....I ran the cron with the settings below...many thanks. Do I need to add the arguments: -f cron.php > /dev/null 2>&1 ??

        Comment


        • item
          item commented
          Editing a comment
          Hello,
          no, there are 2 way to do ..
          i give command line type
          shalmaxb other type (curl)

      • #5
        for more understand :

        "The most important difference is that WGET and CURL go through the HTTP protocol, so Apache configurations / restrictions are added. For example, Apache's Timeout. Whereas when you run a php CRON job, you don't have this type limit. (It's like going through an SSH connection)

        So the most robust way to start a sizable CRON job is to do it through PHP. Unlike CURL or WGET, you will not be impacted by the web server timeout if your script is to run for a while."

        Comment

        Working...
        X