# 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!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.clouduxe.com/cpanel-control-panel/how-to-create-a-cron-job-in-cpanel.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
