RebornWebs Posted May 20, 2018 Report Posted May 20, 2018 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 Quote
0 Beav Posted May 20, 2018 Report Posted May 20, 2018 1 hour ago, 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 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) Quote
0 Beav Posted May 21, 2018 Report Posted May 21, 2018 3 minutes ago, RebornWebs said: It runs manually. and /var/log/cron does that show the cron run at every 5 min mark? Blesta admin area are their cron logs? whats the latest date in there? Quote
0 JDG Posted May 21, 2018 Report Posted May 21, 2018 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. Quote
0 BeZazz Posted May 21, 2018 Report Posted May 21, 2018 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. Quote
0 Paul Posted May 21, 2018 Report Posted May 21, 2018 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+ Quote
0 WebhostingNZ.com Posted May 21, 2018 Report Posted May 21, 2018 21 hours ago, RebornWebs said: It runs manually. When you say it runs manually, did you manually run it from Blesta or from the command line? Try running it from the command line if you didn't. activa 1 Quote
0 bdacus01 Posted May 28, 2018 Report Posted May 28, 2018 Are you using cPanel? If so make sure your System PHP matches your Domain PHP. I have seen where if Domain is 7.2 and System is 7 causes issue. Blesta Addons 1 Quote
Question
RebornWebs
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.