Setup Cron Jobs on cPanel

Cron Jobs

Overview

Cron jobs are scheduled tasks that the system runs at predefined times or intervals. Typically, a cron job contains a series of simple tasks that the system runs from a script file.

Add a cron job

To create a cron job, perform the following steps:

  1. Select the interval at which you wish to run the cron job from the appropriate menus, or enter the values in the text boxes.

    • Common Settings — Select a commonly-used interval. The system will configure the appropriate settings in the Minute, Hour, Day, Month, and Weekday text boxes for you.

    • Minute — The number of minutes between each time the cron job runs, or the minute of each hour on which you wish to run the cron job.

    • Hour — The number of hours between each time the cron job runs, or the hour of each day on which you wish to run the cron job.

    • Day — The number of days between each time the cron job runs, or the day of the month on which you wish to run the cron job.

    • Month — The number of months between each time the cron job runs, or the month of the year in which you wish to run the cron job.

    • Weekday — The days of the week on which you wish to run the cron job.

  2. In the Command text box, enter the command that you wish the system to run.


Original content at ['https://docs.cpanel.net/cpanel/advanced/cron-jobs/']

  • cpanel, web hosting, cronjob
  • 273 Users Found This Useful
Was this answer helpful?

Related Articles

Change IP address on every operating systems

Change IP Address of your Server Prerequisites To change the public IP Address of your Linux...

Update your system

Update your system Before start using your VPS/Dedicated Server, you need to update your system...

Change the default SSH listening port

Change the default SSH listening port One of the first things to do on your server is to...

Change root password

Change root password When a new server is deployed or is reinstalled a generated password will...

Configure Multiple Domain on your website Cpanel

Cpanel Aliases Overview Domain aliases are domains that you own, but which do not contain any...