Setting up cron job to run PHP


If your PHP cronjob isn't working, you can try using the following execution string

/opt/alt/php70/usr/bin/php -q /home/youraccount/public_html/yourscript.php

The first part is the PHP version you are using for your hosting account and the second part would be the path to your php script.