SuiteCRM 8 Cronjobs

I have numerous installations for SuiteCRM 7 using either Easycron or CPanel cronjobs to activate scheduled tasks. All work flawlessly. I cannot get cronjobs working on SuiteCRM 8. I get HTTP/1.1 500 Internal Server Error. Any thoughts?
Everything else works pretty well…

What is the error you have getting so we can help troubleshoot. The cron job functionality hadn’t been updated in Suite 8 but let’s see what the issue it.

It looks like it was a server issue as cron jobs are working on different server. Thanks for the follow up,

1 Like

Hi @PCRM

I have a version 8 installation running cron jobs on Cpanel.

I advise you to check:

  1. User of your server in Cpanel is associated in config.php in the variable allowed_cron_users

  2. Check the path of your installation, there are changes in the Suitecrm structure. This is how my command works in Cpanel. Check the path where cron.php is located

/usr/local/cpanel/3rdparty/bin/php
/home2/…/public_html/main directory suitecrm/public/legacy/cron.php > /dev/null 2>&1

Regards

2 Likes

Hi @manuel428,

Thanks for helping out.

1 Like

Friends,
after three days trying do work at, whith nothing solution in any where.

Follow solution that work for me, using cPanel with a shared host in Hostgator.

“crmmoti3” is my user hostgator folder:
/usr/local/bin/php /home1/crmmoti3/public_html/public/legacy/cron.php > /dev/null 2>&1

You should edit file public_html/public/legacy/config.php
in line: 112

'allowed_cron_users' => 
    array (
      0 => 'your_user_here',
    ),

hope help you :slight_smile: