---
title: How to Set Up Cron Jobs (Scheduled Tasks) in cPanel
description: "**In short:** To add a cron job: in cPanel go to Advanced, then Cron Jobs. Choose a schedule from Common Settings or set the minute, hour, day, month and weekday, enter the command and click Add New Cron Job. Add…"
url: "https://www.hyyat.com/en/knowledgebase/cpanel-cron-jobs/"
updated: "2026-09-29"
category: Website control panel ( cpanel )
---

# How to Set Up Cron Jobs (Scheduled Tasks) in cPanel

**In short:** To add a cron job: in cPanel go to Advanced, then Cron Jobs. Choose a schedule from Common Settings or set the minute, hour, day, month and weekday, enter the command and click Add New Cron Job. Add your email to receive the output, and check your command before adding it.

Cron jobs let you run commands or scripts on your website automatically at set times, for example every day or every week. Cron is one of the most useful tools on Linux and Unix-like systems.

## Steps

**1.** Log in to cPanel. See [how to log in to cPanel](https://www.hyyat.com/en/knowledgebase/how-to-log-in-to-cpanel/).

**2.** In the **Advanced** section, click **Cron Jobs**.

![Cron Jobs in cPanel](https://www.hyyat.com/wp-content/uploads/2019/06/Cron-Job.png)

**3.** Choose how often the command runs, either from **Common Settings** or by setting each field. Enter the command in the **Command** box, for example `/usr/local/bin/php /home/username/public_html/script.php`, and click **Add New Cron Job**.

![Add a new cron job](https://www.hyyat.com/wp-content/uploads/2019/06/Cron-Job1.png)

**4.** Optionally, enter your email in **Cron Email** to receive a message each time the job runs.

![Cron email](https://www.hyyat.com/wp-content/uploads/2019/06/Cron-Job2.png)

**5.** Your job appears under **Current Cron Jobs**, where you can edit or delete it.

![Current cron jobs](https://www.hyyat.com/wp-content/uploads/2019/06/Cron-Job3.png)

**Warning:** you need a good understanding of Linux commands to use cron jobs safely. A wrong command, or one that runs too often, can overload your account. If you are not sure, ask our support to check your script first.

**Related service:** [Hyyat Host shared hosting](https://www.hyyat.com/en/shared-hosting-2/) with cPanel, cron jobs and 24/7 support.

 **Need this service from Hyyat Host?**Our team handles it for you, with support replying to tickets within 24 hours at most.[Web Hosting](https://www.hyyat.com/en/hosting/)[Saudi Hosting](https://www.hyyat.com/en/saudi-hosting/)
