This article provides you with information on how to setup Cron Jobs in cPanel.

Step 1- Login to cPanel

  • Please see our article on logging into cPanel here.

Step 2 - Click on Cron Jobs under your Advanced section. 

Step 3 - Add cron email and click Update Email

  • The email address added here will be notified once the cron job runs successfully or fails.

Step 4 - Add cron job script and click Add Cron Job

Cron jobs use the following time field sequence:

[minute] [hour] [day] [month] [weekday] [command]

22 07 * * * /my/script -v

This will run every morning at 7:22 AM. The * is a wild card, meaning "every day/month, etc" For example; 22 07 * * * = every 48 minutes of every 7th hour of every day of of the month.  Just to clarify, the setting for "Weekday" should be interpreted as day of the week, including Saturday and Sunday. Many people think of weekday as just Monday through Friday, but when referring to cron job settings, it actually means every day of the week.


It is suggested that Cron Jobs not be scheduled at the top or bottom of the hour. Remember that you are not the only user on the server who may be using a cron job. If all the cron jobs were scheduled at the same time, the server performance would be slowed when it tries to execute all of the scripts. So, for example, the best times to set a cron job to run may be at an odd minute such as the example above. It is set to run at 7:22 every morning.  Help keep server performance at an optimum level by setting the cron job execution at an odd time.