--- title: "How do I create a cronjob in cPanel?" slug: "how-do-i-create-a-cronjob-in-cpanel" updated: 2026-07-01T00:30:55Z published: 2026-07-01T00:30:55Z canonical: "docs.serversaustralia.com.au/how-do-i-create-a-cronjob-in-cpanel" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.serversaustralia.com.au/llms.txt > Use this file to discover all available pages before exploring further. # How do I create a cronjob in cPanel? This guide will detail how to create a cron job within cPanel. Crons are Linux's automated command tool, similar to task scheduler in Windows environments. They run on a schedule that can be configured at will. Commonly, they are used for running automatic updates, clearing files etc. > [!WARNING] > Note > > Cronjobs rely on a script to run, and can be abused if incorrectly created. We recommend this for advanced users familiar with scripting and linux command line operations. 1. Log into the cPanel account you want to run the script 2. In the *Advanced* section, click **Cron Jobs**: ![](https://cdn.document360.io/d809f158-d4f4-47ff-83d4-18d9c9f7a04d/Images/Documentation/image-YFZVFRTY.png) 1. (Optional) Set-up Cron Email - This will allow you to receive notifications when a cronjob runs - If you do not want to receive notifications, simply leave the field blank ![](https://cdn.document360.io/d809f158-d4f4-47ff-83d4-18d9c9f7a04d/Images/Documentation/image-N33IQQZS.png) 1. Add New Cron Job - Under the **Add New Cron Job** tab, you will have several options - Common Settings - Common preset intervals e.g. once per day, once per week etc. - Time settings - the time between each cron or the interval with which it will run - Command - the command to run at the designated time - The file must have the appropriate permissions for custom scripts ![](https://cdn.document360.io/d809f158-d4f4-47ff-83d4-18d9c9f7a04d/Images/Documentation/image-RYV9OAWZ.png) ***In the above example, the script ./myscript.sh will run at 1:30 PM on the 1st and 15th of each month on a Saturday. This can be set to whatever value best suits your needs.*** ## Edit & Delete Cronjobs Beneath this window is where you can view all current cronjobs. From here, you can edit or delete crons. ![](https://cdn.document360.io/d809f158-d4f4-47ff-83d4-18d9c9f7a04d/Images/Documentation/image-76FPB61B.png) For further information, please refer to the following resources: - [https://docs.cpanel.net/cpanel/advanced/cron-jobs/](https://docs.cpanel.net/cpanel/advanced/cron-jobs/) - [https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/7/html/system_administrators_guide/ch-Automating_System_Tasks#s1-Scheduling_a_Recurring_Job_Using_Cron](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/7/html/system_administrators_guide/ch-Automating_System_Tasks#s1-Scheduling_a_Recurring_Job_Using_Cron)