There was a problem loading the comments.

Setting up cron job to run PHP

Support Portal  »  Knowledgebase  »  Viewing Article

  Print
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.

Share via

Related Articles

© DirectHosting