How to setup a cron job in cPanel - 4GoodHosting Support

Опубликовано: 11 Февраль 2026
на канале: 4GoodHosting
1,998
3

http://4goodhosting.com/ 4GoodHosting Support Tutorials - cPanel

Steps to setup a cron job in 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

3) 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

4) Let's choose Once a week

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

6) 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


4GoodHosting toll-free Phone
404-999 Canada Pl,
Vancouver, BC V6C 3E2, Canada
1 866-708-4678

4GoodHosting Calgary
1 403-800-9901
121, 918 16th Ave NW
Calgary, AB T2M 0K3, Canada

4GoodHosting Edmonton
1 780-665-5121
602-21 10405 Jasper Ave
Edmonton, AB T5J 3S2, Canada

4GoodHosting Toronto
1 647-491-8500
1 Yonge Street Suite 1801
Toronto, ON M5E 1W7, Canada


4GoodHosting Montreal
1 581-319-5600
5890 Monkland Avenue, Suite 16-6
Montreal, QC H4A 1G2, Canada