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, please do the following:

 

  1. Click on the "Cron Jobs" icon inside cPanel, under Advanced.
  2. Make sure the current email address is valid. If not, enter a new email and click the "Update Email" button.
  3. Select the Common Setting you want. This will automatically change the other time settings.
  4. Alternatively, you may adjust the individual time settings. Minute, Hour, Day, Month and Weekday can be modified to achieve your goal.
  5. In the input box to the right of "Command", type the name of the file type, then add a space and provide the path to the file which you would like the command to run.
  6. 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.

 

Cron jobs are easy to edit and delete.


  1. Click on the "Cron Jobs" icon inside cPanel.Scroll down to the last section called "Current Cron Jobs".

  2. Find the correct cron job and click either "Edit" or "Delete", under Actions.
  3. Editing does not have the nice automated tools, so it may be easier to copy the Command, delete the cron job, and recreate it.

Was this answer helpful?

 Print this Article

Also Read

How to create and Autoresponder in Cpanel

Log into your Cpanel Control panel, Click on the Auto Responders Icon     Click on the Add...

How much does it cost to have more MySQL Databases on our domain?

It costs a $30 for an additional MySQL database setup. This is a one time setup fee. More...

My emails and website are not working

If you are unable to load up your website or get errors when trying to connect to your mail...

How to add additional FTP accounts in Cpanel

Login to Cpanel and click on FTP Accounts in the Files section     You will notice there...

How can I test/preview my website before switching DNS?

To test your website before DNS propagation has completed you can edit the HOSTS file on your...