Your country & currency

Make yourself at home. Choose your preferred shopping currency.

Your selected country opens its KickHost website. Your shopping currency is saved. Visit country website .

Guide

How to Create a Cronjob in cPanel

Create a cron job in cPanel to run a script automatically. Steps for KickHost customers in Kenya.

Share

Cron jobs run commands at set times, such as clearing a cache or sending reports. cPanel provides a simple form so you do not need to edit server files.

1. Log in to your cPanel account.

2. In the Advanced section, click on Cron Jobs.
Cronjob icon

3. Under Add New Cron Job, click on the Common Settings drop-down menu and select an appropriate option such as Once Per Day or another suitable option.

4. Enter your cronjob PHP file location or the command you want to run in the Command field.

5. Click on Add New Cron Job.
Add cronjob

Choose a sensible schedule

Do not run heavy tasks too often. Once per day or every few hours is enough for most jobs. Very frequent jobs can slow your website.

Test the command

Run the command once manually, or set it to run in a few minutes and check the result. Add an email address to receive output if you need it.

Frequently asked questions

What does a PHP cron command look like? It uses the PHP path followed by your script path. Ask support if you are not sure about the correct path.

How do I stop a cron job? Delete it from the Current Cron Jobs list in the same page.

Related guides

Need cPanel hosting in Kenya? See KickHost hosting plans or contact our team.

Found this useful? Share it.

Need a hand with this?

Our team can help you choose the right domain, hosting or server and set it up properly.

Talk to our team See hosting plans