How to setup a cron job in cPanel

Back to search

This demo assumes you've already logged in to cPanel

Now let's learn how to setup a cron job

1 Click the Cron Jobs icon

2 Enter the email address where you want the cron job results sent after each time it runs

Now you have to define exactly when and how often you want the cron job to run

This is made easier by using one of the pre-defined or common settings

Notice that by choosing a common setting, all fields are filled in automatically. This also helps you understand what each field means

3 Let's choose Once a week

4 Next, enter the command of the script you want to run, including the path (from root)

5 When ready, click Add New Cron Job

That's it! The cron job has been set as you can see here

You can create additional cron jobs, and edit or delete existing ones

This is the end of the tutorial. You now know how to setup cron jobs in cPanel

Also Read

Website Hosting - Glossary of Terms
The following is a glossary of popular words associated with web hosting. Address The unique...
How do I know what is the best hosting option for my website?
Your hosting option will be determined by the amount of disk-space, MySQL Databases, email...
How to install Piwigo from Softaculous
1 Scroll down until you find Piwigo in the menu on the left. 2 Click Piwigo. This Overview page...
What is the maximum period we could be off-line for website and emails while the move over takes place?
Providing we get full co-operation from your current hosting provider, the maximum period of...