Results 1 to 5 of 5
  1. #1
    Senior Member
    Join Date
    Jul 2006
    Location
    IndiaMDM
    Posts
    365

    Post How to Create a Cron Job in cPanel?

    1. Click on the "Cron Jobs" icon inside cPanel, under Advanced.

    2. Make sure the current email address is valid. If not, enter a new email and click the "Update Email" button.

    3. Select the Common Setting you want. This will automatically change the other time settings.

    4. Alternatively, you may adjust the individual time settings. Minute, Hour, Day, Month and Weekday can be modified to achieve your goal.

    5. In the input box to the right of "Command", type the name of the file type, then add a space and provide the path to the file which you would like the command to run.

    6. Click the "Add New Cron Job" button.
    HostechSupport
    24x7 Remote Services
    Linux/Windows Server Administration Server Management
    Get in touch: support@hostechsuppport.com

  2. #2
    Member
    Join Date
    Jul 2019
    Posts
    67
    Steps to create a cron job in cpanel are as followed:-
    1.Log in to cPanel, scroll down to the Advanced section and click the Cron Jobs icon.
    2.Scroll down to the Add New Cron Job section. You can either select from the Common Settings drop down menus or fill out your own custom values. Fill out the form
    3.Enter the command you want to run in the Command field and click Add New Cron Job. The command can be any command able to be run from the Linux terminal.
    A confirmation will appear to confirm that the job has been added.

  3. #3
    Member
    Join Date
    Jun 2019
    Posts
    52
    cPanel >> Home >> Advanced >> Cron Jobs

    The step are better explained below,

    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.

    3. Click Add New Cron Job.

  4. #4
    Registered User
    Join Date
    May 2019
    Location
    India, USA
    Posts
    6
    Log in to cPanel, scroll down to the Advanced section and click the Cron Jobs icon.

    Name:  cron-jobs-icon.png
Views: 204
Size:  16.6 KB

    Scroll down to the Add New Cron Job section. You can either select from the Common Settings drop down menus or fill out your own custom values. Fill out the form as follows:

    Common Settings: This option allows you to select a preset interval for your cron job to run.

    If you have not chosen one of the preset Common Settings, choose from the other options:

    Minute: Either enter a custom value or select a preset value from the Common Settings menu.
    Hour: Either enter a custom value or select a preset value from the Common Settings menu.
    Day: Either enter a custom value or select a preset value from the Common Settings menu.
    Month: Either enter a custom value or select a preset value from the Common Settings menu.
    Weekday: Either enter a custom value or select a preset value from the Common Settings menu.

    The following example shows a job set up to run twice daily.

    Name:  cron-example.png
Views: 175
Size:  33.3 KB

    Enter the command you want to run in the Command field and click Add New Cron Job.

    The command can be any command able to be run from the Linux terminal. This includes scripts per our example.

    Name:  add-new-cron-button.png
Views: 205
Size:  12.2 KB

    A confirmation will appear to confirm that the job has been added.

  5. #5
    Junior Member
    Join Date
    Oct 2019
    Location
    Australia
    Posts
    9
    You can add a cron job in cPanel by accessing cPanel >> Home >> Advanced >> Cron Jobs.

    The option contains the below entries which is as mentioned below

    Common Settings: You can select a commonly-used interval, you can asjust this as per your need using the Minute, Hour, Day, Month, and Weekday text boxes avaialable.

    Minute: You can enter number of minutes between each time the cron job runs, or the minute of each hour during which you plan on runnig the cron job.

    Hour: You can enter the number of hours between each time the cron job runs, or the hour of each day during which you plan to run the cron job.

    Day: You can enter the number of days between each time the cron job runs, or the day of the month during which you plan to run the cron job.

    Month: You can enter the number of months between each time the cron job runs, or the month of the year during which you plan to run the cron job.

    Weekday: You can enter the days of the week during which you plan to run the cron job.

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

    For example, /usr/local/bin/php /home/hosting/public_html/cron.php

    3. Click Add New Cron Job.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.