Cron job has been set up in Webmin. However, the following error is got.
PHP: syntax error, unexpected '(' in /var/www/html/moodle/admin/cli/cron.php on line 8
This happens even when the same is run in putty.
The site uses the stock cron.php file that comes with no modification done. This is flabergasting.
Any help is appreciated.
PHP 7.1 is used on Ubuntu 14.04LTS. The version of Moodle is Moodle 3.1.1+ (Build: 20160714)
Thanks in advance.
JSP