How do I create and delete a cron job?

Cron Jobs run scheduled tasks at specific times. This is good to set up automated backups and or other unmanned server duties. To create a cron job, please do the following:

Standard:

  1. Click on "Cron Jobs" inside cPanel.
  2. Select Standard or Advanced. The difference being is the standard only allows you to create a few cron jobs and the times are set up through drop down menus. The advanced section allows you to create unlimited cron jobs and also allows you to be very specific with when it runs.
  3. In the input box to the right of Command to run, type the path to the binary on the server for which the command you wish to run is located, then add a space and provide the path to the file for the file for which you would like the command to run.
  4. If standard is selected, select the Minute(s), Hour(s), Day(s), Months(s) and Weekday(s) for which you would like the cron to run.
  5. Click the Save Crontab button.

You have just created a standard cron job to run a command on a file on a certain time and date.

Advanced:

  1. The advanced tab works very similar. Instead of choosing time and date for which the commands will run from a drop down menu, you will place numbers in the input boxes to declare time and date. Please look online for further material.
  2. Click Save Cron Tab button

You have just created an advanced cron job to run a command on a file on a certain time and date.

  • 0 أعضاء وجدوا هذه المقالة مفيدة
هل كانت المقالة مفيدة ؟

مقالات مشابهة

Can I password protect directories?

  To password protect directory: Login into your cPanel and click on the Password...

Changing your cPanel style.

Login to cPanel and click Change Style. Click the radio button under the style you like....

Creating a URL redirect.

Login to cPanel and click the Redirects icon. Leave the setting as 301 redirect, as this is...

Custom error pages

To create a custom error page for your account, please login to cPanel and click Error Pages,...

Do you have a manual for our control panel?

Yes, a manual for cPanel is available. Go to http://www.cpanel.net/support/docs/index.htm to view...

Powered by WHMCompleteSolution