(cPanel >> Home >> Advanced >> Cron Jobs)
Cron jobs are scheduled tasks that the system runs at predefined times or intervals. Typically, a cron job contains a series of simple tasks that the system runs from a script file.
Exercise caution when you schedule cron jobs. If you schedule them to run too often, they may degrade performance.
The Cron Email section of the interface allows you to enter an email address for the system to send notifications when your cron jobs run. To set an email address, perform the following steps:
To disable email notifications for all cron jobs, remove the email address.
To disable email notifications for a single cron job, perform the following steps:
Locate the following string:
0 * * * * /home/user/backup.pl
Add the following string to that line:
To create a cron job, perform the following steps:
Common Settings — This menu allows you to select a commonly-used interval. The system will configure the appropriate settings in the Minute, Hour, Day, Month, and Weekday text boxes for you.
If the wildcard characters (
Weekday — Use this menu to select the days of the week on which you wish to run the cron job.
In the Command text box, enter the command that you wish the system to run.
Specify the absolute path to the command that you wish to run. For example, if you wish to run the
In This Document
For Hosting Providers
The Current Cron Jobs table displays your existing cron jobs.
To edit a cron job, perform the following steps:
To delete a cron job, perform the following steps: