Schedulers Not Working

After scouring this forum for help, I’m at my wits end with trying to get my schedulers to work. My instance of SuiteCRM is being hosted on JustHost and I’ve tried 1000 different variations of the cron job command on the Scheduler page, nothing is working. Can i hire someone from the forum to take a look and get this thing working?

Have you tried contacting your host? Try sending them what you think it should be, and ask them why it’s not working. They are probably aware of how to write the cron command so it works in their environment and might just set it up for you.

Also, do you have an email setup for the errors?

My host has provided the format of the cron command on their website. This is what they say:

Command to run a PHP5 cron job:
php /home/username/public_html/cron.php

Optional flags are sometimes required for a PHP cron job:
php -q /home/username/public_html/cron.php

Command to use a specific php.ini file:
php -c /home/username/public_html/php.ini /home/username/public_html/myscript.php

Command to GET a remote file:
/usr/bin/GET http://www.example.com/file.php

When I use either of the 1st two commands, I get this error via email:


Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home4/theblklb/public_html/crm/include/utils.php on line 1623

Parse error: syntax error, unexpected T_FUNCTION in /home4/theblklb/public_html/crm/include/utils.php on line 4381

Hi, from the errors it seems that you are on a PHP version earlier than 5.3, which doesn’t run with SuiteCRM 7.7

Can you check your hosts PHP version? Please note that any PHP version under 5.6 currently is end-of-life

http://php.net/eol.php