Set up cron job in cpanel
Posted by PremiumReseller.com on 26 March 2008 01:25 AM
Please follow the instruction below to run a cron job on linux server with cpanel
+ Execute php query with reference to location of cron job on the server
/usr/local/bin/php -q /home/cpanel-username/public_html/location-cron-job.php
If you get error when running cron job, please check that you can run the cron job in web browser.
Include in the cron job a piece of code to send email to verify cron job run successfully.