How do I create/delete Cron jobs?

Cron jobs run scheduled commands at specific times. The Cron Jobs tool in cPanel is helpful for setting 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. Under Cron Email, 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. Under Add New Cron Job, use the Common Settings drop-down menu 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 time unit. Common settings range from every minute to once a year.
  5. In the Command field, enter the desired command.
  6. Click Add New Cron Job.

Your cron job will then be execute a file at a certain time, date and repetition, according to the settings you selected.

Remove or Edit a Cron Job

To remove or edit a cron job:

  1. In the Advanced section of cPanel, click the Cron Jobs icon.
  2. Scroll down to the last section called Current Cron Jobs.
  3. Find the cron job you wish to edit or delete.
  4. Under Actions, for the appropriate cron job, click either Edit or Delete.
  • 5 Users Found This Useful
Was this answer helpful?

Related Articles

How to Backup your cPanel account from your previous server?

Here we are explaining about how to move your cpanel to our server. This is a very simple...

How to use cPanel?

cPanel is a world popular hosting control panel. It make easy to manage your hosting account. You...

Accessing cPanel from a dynamic IP address

If you get logged out from cPanel and get an error The IP has changed, then it is possible that...

How can I check my website access logs?

Using Raw Access Logs menu in cPanel you can check the traffic coming to your website, before it...

How do I add an Apache handler?

1. Click on the “Apache handlers” link in Cpanel. (under the 'site management header.)2. Enter...