Good morning,
after completing the installation of release 3.7 the CRON doesn't work. The error returned to me is shown in the attachment.
Could you give me directions on how to solve? Thank you very much
The version of php is 7.1. We tried to change on 7.2 but we didn't resolved. We changed this line:
$CFG->doclang = 'en' ;
Don't have answer ... question though ...
See in the image a .php-cron-starter.
what's .php-cron-starter?
and what does it contain?
And a check ... is cli php finding php-cli?
which php shows path
/full/path/shown/above/php -v
should show (cli) in response.
'SoS', Ken
In your screen shot:
the 'sudo -u web' ... line ... there is a .php-cron-starter shown.
What is .php-cron-starter? A 'dot' at the beginning of that indicates it's a hidden file? or directory?
And at the very end of screen shot it shows
web7_corsi_cron.sh is what failed.
So what is contained in web7_corsi_cron.sh script?
Howard suggested usually caused by having the wrong version of PHP (command line version).
And asked you to try the command php -v as test to see if your system is finding php-cli
I asked you to run another command as well in efforts to find php-cli for PHP.
which php
that would show the path to the php executables found on your system (you could have multiples). A command issued from the prompt or a sh script would use the first one found IF using 'php somephpfile.php' from the command line.
'SoS', Ken