Announcement

Collapse
No announcement yet.

Unable to setup CRON using Plesk

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

  • item
    replied
    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."

    Leave a comment:


  • item
    commented on 's reply
    Hello,
    no, there are 2 way to do ..
    i give command line type
    shalmaxb other type (curl)

  • lesliefoster
    replied
    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 ??

    Leave a comment:


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

    Leave a comment:


  • item
    replied
    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

    Leave a comment:


  • lesliefoster
    started a topic Unable to setup CRON using Plesk

    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
Working...
X