cPanel - Cron Jobs
· how to use Cron Jobs in cPanel?
Setup Cron Job
To add a new Cronjob, follow these steps −
Step 1 − Open Cron Jobs by clicking Cron Jobs found in the Advanced the section in cPanel.
Step 2 − Scroll down to see Add New Cron Job interface.
Step 3 − You can choose an existing setting from common settings. If you do that all the fields of corn execution time will automatically get filled. Or you can choose your custom runtime settings by specifying in the next text inputs accordingly.
Step 4 − Enter your command to run in the Cron job. If you are running a PHP file, enter the full name of the php file. For example −
Step 5 − Click Add New Cron Job button to add a Cron job.
Edit or Delete Existing Cron Jobs
To edit or delete your existing Cron jobs, you can scroll below on the Corn Jobs interface to see current Cron jobs. Once you select the job, you can click either the delete link or the edit link to edit or delete a particular Cron job.