Dev License: This installation of WHMCS is running under a Development License and is not authorized to be used for production use. Please report any cases of abuse to abuse@whmcs.com

How to setup a cron job in cPanel

Let's discover how to setup a cron job.

This tutorial assumes you've already logged in to cPanel.

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

Was this answer helpful?

 Print this Article

Also Read

How to change your cPanel style

Let's discover how to change the cPanel style. This tutorial requires that you have already...

How to change the primary language in cPanel

Let's discover how to change the primary language. This tutorial requires that you have...

How to password protect a directory in cPanel

Let's discover how to password protect a directory, so that people will need a password to...

How to use the Disk Space Usage tool in cPanel

Let's discover how to use the Disk Space Usage tool. This tutorial requires that you have...

How to use File Manager in cPanel

Let's discover how to use File Manager. This tutorial requires that you have already logged...

Powered by WHMCompleteSolution