Admin-Ahead Community

Linux => Control Panels => cPanel => Topic started by: kirann on August 05, 2017, 10:30:21 am

Title: How to setup a cron job in cPanel
Post by: kirann on August 05, 2017, 10:30:21 am
How to setup a cron job in cPanel?
===

First upon access the cPanel account then follow the below steps:
===

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

Thank you.... :)