How do I create and delete a cron job Print

  • 0

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.

Was this answer helpful?

« Back