I use the following and it works.
>/usr/bin/php -q /home/cpanelname/public_html/path-to-php-file
Note that I added /usr/bin to the code, not that it should matter though. And replace cpanelname with your actual login name for cpanel.
Have you checked your error log file?