Jump to content

Question

Posted

My Crons stopped running automatically in php 71 

in blesta its listed as */5 * * * * /usr/local/bin/php -q /home/ctriotol/public_html/index.php cron > /dev/null 2>&1

9 answers to this question

Recommended Posts

  • 0
Posted
  On 5/20/2018 at 10:25 PM, RebornWebs said:

My Crons stopped running automatically in php 71 

in blesta its listed as */5 * * * * /usr/local/bin/php -q /home/ctriotol/public_html/index.php cron > /dev/null 2>&1

Expand  

Try running that command manually and see if it returns error, if using cpanel you can also try /opt/cpanel/ea-php71/root/usr/bin/php as your path provided your using ea packages.  Also check /var/log/cron and see if your crons being ran in the first place, that way you have a starting point to start debugging. Do you have any result in Blesta admin area (Tools->Logs->(cron tab)) or is it just one particular cron failing? (eg. failing to provison paid services)

  • 0
Posted

For me is not running either after I upgrade to PHP 7.1 Running it manually no problem but is not doing it automatically. I am debugging the issue on my side to check what cause it. 

  • 0
Posted

You could try running

which php

php -v

from the command line to see what version you are running on the command line and its location.

  • 0
Posted

Blesta 4.2 makes an attempt to determine the correct path to PHP under Settings > System > Automation. Not sure if this helps, but worth taking a look at what is displayed there if running 4.2+

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...