Scheduled jobs are not running

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mrpapryk
    Junior Member
    • Mar 2022
    • 2

    Scheduled jobs are not running

    Hi, I have done everthing from this page https://docs.espocrm.com/administrat...ing-up-crontab and in whm crontab -e -u "myusername" have this line:
    * * * * * cd /home/heliosra/public_html/EspoCRM-7.0.9; /opt/cpanel/ea-php73/root/usr/bin/php-cgi -f cron.php > /dev/null 2>&1
    but when I try to execute got this text in console "Can be run only via CLI." same text in logs when I add: >> /home/heliosra/public_html/EspoCRM-7.0.9/cronlog.log

    Any ideas where I messed up?
  • lazovic
    Super Moderator
    • Jan 2022
    • 852

    #2
    Hi,

    Please try to insert this line:

    * * * * * cd /home/heliosra/public_html/EspoCRM-7.0.9; /usr/local/bin/ea-php73 -f cron.php > /dev/null 2>&1

    Comment

    • mrpapryk
      Junior Member
      • Mar 2022
      • 2

      #3
      Hi,
      this work thanks for your help!

      Comment

      Working...