Cron jobs are scheduled tasks that the system executes at specific periods or times.
Typically, a cron job is made up of a number of straightforward tasks that the system does from a script file.
To set up a cronjob in cPanel, follow these steps:
- Log in to your cPanel account.
- In the “Advanced” section, click on the “Cron Jobs” icon.
- Scroll down to the Add New Cron Job section. You can either select from the Common Settings drop down menus or fill out your own custom values. Fill out the form as follows:
Common Settings: This option allows you to select a preset interval for your cron job to run.
If you have not chosen one of the preset Common Settings, choose from the other options:
- Minute: Either enter a custom value or select a preset value from the Common Settings menu.
- Hour: Either enter a custom value or select a preset value from the Common Settings menu.
- Day: Either enter a custom value or select a preset value from the Common Settings menu.
- Month: Either enter a custom value or select a preset value from the Common Settings menu.
- Weekday: Either enter a custom value or select a preset value from the Common Settings menu.
4. Enter the command you want to run in the Command field and click Add New Cron Job.
The command can be any command able to be run from the Linux terminal. This includes scripts per our example.

