If you're using cPanel, click Cron Jobs->Avanced Style
Enter your timing parameters, then your path should look like this:
/usr/local/bin/php /home/user/public_html/script.php
Please be advised that there IS a space between the path to PHP and the path to your script.