I have solo installed, and from the web front end it runs fine. I tried to set up a cron job to run one of the profiles.
using the cron command /opt/alt/php70/usr/bin/php /home/ringingt/public_html/ringingteachers.org/solo/cli/backup.php > public_html/ringingteachers.org/solo/cli/backup-log.txt 2>&1
I get the following errors in the log file:
[16-Nov-2018 19:50:02 Europe/London] PHP Notice: Undefined variable: argv in /home/ringingt/public_html/ringingteachers.org/solo/cli/backup.php on line 107
[16-Nov-2018 19:50:02 Europe/London] PHP Fatal error: Call to undefined function Awf\Registry\Format\json_decode() in /home/ringingt/public_html/ringingteachers.org/solo/Awf/Registry/Format/Json.php on line 60
[16-Nov-2018 20:00:02 Europe/London] PHP Notice: Undefined variable: argv in /home/ringingt/public_html/ringingteachers.org/solo/cli/backup.php on line 107
[16-Nov-2018 20:00:02 Europe/London] PHP Fatal error: Call to undefined function Awf\Registry\Format\json_decode() in /home/ringingt/public_html/ringingteachers.org/solo/Awf/Registry/Format/Json.php on line 60
[16-Nov-2018 20:10:02 Europe/London] PHP Notice: Undefined variable: argv in /home/ringingt/public_html/ringingteachers.org/solo/cli/backup.php on line 107
[16-Nov-2018 20:10:02 Europe/London] PHP Fatal error: Call to undefined function Awf\Registry\Format\json_decode() in /home/ringingt/public_html/ringingteachers.org/solo/Awf/Registry/Format/Json.php on line 60
What should I be checking next?
Best regards
Steve