I am using the following method to get cron to work with wordpress. It has worked in the past but recently (around December of 2019) it stopped working. It hasn't become too big of a problem until recently.
/usr/local/cpanel/3rdparty/bin/php /home/public_html/wp-content/plugins/civicrm/civicrm/bin/cli.php -s SITE -u USERNAME -p PASSWORD -e Job -a execute
The error that i get from cPanel is:
PHP Parse error: syntax error, unexpected '?' in /home/public_html/wp-content/plugins/civicrm/civicrm/bin/cli.class.php on line 214
Can anyone help me figure out what to do.