How do I create and delete a cron job?

Cron Jobs run scheduled tasks at specific times. This is good to set up automated maintenance and other unmanned server duties.

 

To create a cron job:
  1. Log into cPanel.
  2. In the Advanced section, click Cron Jobs.
  3. Make sure the current email address is valid. If not, enter a new valid email and click Update Email. You will receive an email after the cron job has finished.
  4. Use the Common Settings to choose from a list of regularly used intervals or set the frequency of your cron job by using the drop-down box next to each setting. Common settings range from every minute to once a year.
  5. Enter in the desired command and click the Add New Cron Job button.

You have just created a cron job to execute a file at a certain time and date with the desired repetition.

Remove or Edit a Cron Job

  1. Click the Cron Jobs icon inside cPanel.
  2. Scroll down to the last section called "Current Cron Jobs."
  3. Find the correct cron job and click either Edit or Delete under Actions.
    Note: The edit panel has fewer common settings to choose from, so if you are having trouble getting the correct interval, copy the command, delete the cron job and then recreate it using the Add New Cron Job section.

For more detailed information on how cron works, please see:

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What is hot linking? How do I enable and disable hotlink protection?

What is hot linking? How do I enable and disable hotlink protection? Hot link protection...

How to download a home directory backup

Backups are very important part of maintaining a website. It is important to backup your files on...

Proper MIME types

Mime types tell browsers how to handle specific extensions. For example, the text/html mime type...

Using Network Tools in cPanel

One of the most useful tools in cPanel that is often overlooked is the Network Tools function....

Please read before creating an Addon Domain

About addon domains Addon Domains are handled like subdomains as far as the server is concerned,...