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:Click on the "Cron Jobs" icon inside cPanel, under Advanced.

  1. Make sure the current email address is valid. If not, enter a new email and click the "Update Email" button.
  2. Select the Common Setting you want. This will automatically change the other time settings.
  3. Alternatively, you may adjust the individual time settings. Minute, Hour, Day, Month and Weekday can be modified to achieve your goal.
  4. 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.
  5. 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.
  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.
  4. Editing does not have the nice automated tools, so it may be easier to copy the Command, delete the cron job, and recreate it.
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How to upload to an Addon or Subdomain

Option 1Step 1: In a FTP client enter this information. Host = add on domain name User...

Backup file types - cPanel

So, you have a backup file, but you need to know what type of backup it is so you can know what...

How to repair a broken database

If you get an error which says, "so-and-so is marked as crashed and needs to be repaired," then...

Apache Error Logs

When you check the error logs, you can see many things.Some things you can ignore:File does not...

How to download a home directory backup

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