Knowledgebase

Setting up cron jobs in Cpanel Print

  • 1

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.


Was this answer helpful?

« Back

Powered by WHMCompleteSolution


malware removal and website security

© Tech Logic Solutions Inc. All Rights Reserved

Bradford - Newmarket - Barrie - Toronto - Halifax - Vancouver - Calgary - Edmonton - Regina - Winnipeg - Ottawa - Montreal - Canada - USA - UK