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.

آیا این پاسخ به شما کمک کرد؟

 پرینت این مقاله

در همین زمینه

How to set up rules and redirects in .htaccess?

.htaccess is a directory-level configuration file supported by the Apache web server. It is used...

What to do if my website stats are not updated?

The websites statistics on our servers are updated every 24 hours. This update may be delayed by...

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

Hot link protection prevents other websites from directly linking to files and pictures on your...

Is there a secure https login for Cpanel?

Yes, there is. Try: https://www.domain.com:2083 or: https://unlimitedhostia.com:2083 You...

How to use the Disk Space Usage tool in cPanel

1)      Log in to C Panel. 2)      Click on “Disk Space usage” under “Files” 3)      From here...