How to Add, Edit and Delete Cron Jobs in cPanel

This knowledgebase post describes how to use cPanel to configure Cron Jobs for your website. Using Cron Jobs, you can schedule commands that can be run at specific intervals you specify.

What is a Cron Job?

A Cron Job is simply a task that is scheduled to run automatically at specific intervals. For example, if you want to make a copy of a file after every six hours, you can configure this using Cron Jobs in cPanel.

Adding a Cron Job

To add a scheduled task, follow these steps:

  1. In the advanced section of the main screen of cPanel, click on Cron Jobs.
  2. In the email box, type the email address on which you want to receive notifications, and then click Update email. Each time the task is executed, the email account will receive a message.
  3. In “Add new Cron job”, enter the interval for the command you want.
  4. In the command text box, type the command you want to execute.
  5. Click “Add New Cron Job”.

Editing a Cron Job

To edit a Cron Job, follow these steps:

  1. In advanced cPanel home screen section, click Cron Jobs.
  2. Click “edit button” to edit the Cron Job.
  3. Make the changes you want, and then save the changes.

Deleting a Cron Job

You can delete a Cron Job when you no longer want to run the command automatically.

To delete a scheduled task, follow these steps:

 

  1. In the advanced section of the main screen of cPanel, click on Cron Jobs.
  2. Click on “Delete Icon” to delete the Cron Job.
  3. To confirm that you want to delete Cron Job, click Delete.
  • cpanel, webhosting, cron, india, information
  • 0 Users Found This Useful
這篇文章有幫助嗎?

相關文章

How to backup your website in cPanel

This demo assumes you've already logged in to cPanel Now let's learn how to backup our website...

How to create a subdomain in cPanel

This demo assumes you've already logged in to cPanel Now let's learn how to create a subdomain...

WordPress Softaculous Installation Tutorial

This tutorial explains how to use Softaculous to install a WordPress application on your site. It...

MySQL Trouble shooting

Try checking for Typos by printing out the query that is getting sent to MySQL Server from your...

How to login to cPanel

This demo assumes you've already opened your browser, and entered your cPanel login URL Now...