Cron jobs run scheduled commands at specific times. The Cron Jobs tool in cPanel is helpful for setting up automated maintenance and other unmanned server duties.
Create a Cron Job
To create a cron job:
- Log into cPanel.
- In the Advanced section, click Cron Jobs.
- Under Cron Email, make sure the current email address is valid. If not, enter a new, valid email and click Update Email. You will receive an email after the cron job has finished.
- Under Add New Cron Job, use the Common Settings drop-down menu to choose from a list of regularly used intervals; or set the frequency of your cron job by using the drop-down box next to each time unit. Common settings range from every minute to once a year.
- In the Command field, enter the desired command.
- Click Add New Cron Job.
Your cron job will then be execute a file at a certain time, date and repetition, according to the settings you selected.
Remove or Edit a Cron Job
To remove or edit a cron job:
- In the Advanced section of cPanel, click the Cron Jobs icon.
- Scroll down to the last section called Current Cron Jobs.
- Find the cron job you wish to edit or delete.
- Under Actions, for the appropriate cron job, click either Edit or Delete.
Note: The edit panel has fewer common settings to choose from, so if you are having trouble getting the correct interval, copy the command, delete the cron job and then recreate it using the Add New Cron Job section.
- 0 Users Found This Useful
What are Custom Pages for Errors? When your website generates an error, such as a 404, it...
cron is a Linux utility which schedules a command or script on your server to run automatically...
Some scripts executed with a Cron Job require a specific php.ini file to be used. When...
What are Error Codes? All HTTP requests (the type of requests generated by your browser when...
In order to correctly set joudiSoft's servers to perform a desired task in the form of a cron...