cPanel – Cron Jobs/Scheduled tasks

Cpanel -> Advanced->Cron Jobs->

cPanel - Cron Jobs - Scheduled tasks - Advanced section
cPanel – Advanced – Cron Jobs

As an example for using this feature, we will run a php script (test.php) which sends an e-mail to a predefined e-mail address.

cPanel - Cron Jobs - Scheduled tasks - add job

In the command line enter:

/usr/bin/php -q /home/cpanelusername/public_html/test.php

As per the above settings, the command to run the test.php script will be executed every five minutes. Make sure to repalce cpanelusername with your own username.

Leave a comment

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.