> For the complete documentation index, see [llms.txt](https://docs.clouduxe.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.clouduxe.com/cpanel-control-panel/how-to-create-a-cron-job-in-cpanel.md).

# How to Create a Cron Job in cPanel

Creating a cron job in cPanel is essential for automating repetitive tasks on your website. This guide will walk you through the process, ensuring you can efficiently schedule scripts and commands to run at specified intervals.

To set up a cron job in cPanel and automate tasks, follow these steps:

* Log in to your cPanel account by navigating to yourdomain.com/cpanel and entering your credentials.
* In the **Advanced** section, click on **Cron Jobs**.

<figure><img src="/files/JX0UyHjxlqR8xnKpfWTU" alt=""><figcaption></figcaption></figure>

* Under **Add New Cron Job**, open the **Common Settings** drop-down menu and select a frequency, such as "Once Per Day."
* Enter the path to your cron job PHP file or the command you want to run in the **Command** field.
* Click on **Add New Cron Job** to save your settings.

<figure><img src="/files/NYMCpZpkebeg63TIa2q2" alt=""><figcaption></figcaption></figure>

**Need Assistance?**\
If you have questions or need help, feel free to contact our support team!
