Cron Job not working on my vagrant phpes80es716 instance

Hello Good Day!

I installed my SugarCRM Enterprise 12.1 on fresh installed vagrant phpes80es716 instance. And I set-up the Sugar Schedulers by adding the Crontab Setup provided by sugar:

I am wondering why the cron jobs is not working and tested it in my terminal and I got this error below:

Parents Reply
  • wondering

    Thank you for your quick response; it's a great help for me. I was able to fix it by adding 8.0 after php and before -f. Check my sample crontab below:

    Fullscreen
    1
    *····*····*····*····* cd /vagrant/sugarcrm; php8.0 -f cron.php > /dev/null 2>&1
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Children