Announcement

Collapse
No announcement yet.

Cron not working

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

  • Cron not working

    Hi, I have set up group and personal email accounts, and a mass email but cron doesn't appear to be running.

    I've added * * * * * cd /home/hmrc-crm/espocrm-4.5.1-0/apps/espocrm/htdocs; /bitnami/lampstack-linux-x64/output/php/bin/php -f cron.php > /dev/null 2>&1 to cron tab and get the following log details:

    Apr 27 16:31:01 hmrc-crm CRON[25574]: (hmrc-crm) CMD (cd /home/hmrc-crm/espocrm-4.5.1-0/apps/espocrm/htdocs; /bitnami/lampstack-linux-x64/output/php/bin/php -f cron.php > /dev/null 2>&1)

    So CRON is running but the jobs aren't executing, any help will be appreciated.

    Andy

  • #2
    OK I managed to work it out (I'm not a linux or php person so doggered determination!)

    EspoCRM on the Scheduled job tab told me to put:

    * * * * * cd /home/hmrc-crm/espocrm-4.5.1-0/apps/espocrm/htdocs; /bitnami/lampstack-linux-x64/output/php/bin/php -f cron.php > /dev/null 2>&1

    into the crontab.

    However the path is wrong for the bitnami installer, the path should read

    * * * * * cd /home/hmrc-crm/espocrm-4.5.1-0/apps/espocrm/htdocs; /home/hmrc-crm/espocrm-4.5.1-0/php/bin/php -f cron.php > /dev/null 2>&1)


    Now it all works great .... thanks EspoCRM, great package ....

    Comment

    Working...
    X