Results 1 to 4 of 4
  1. #1
    Senior Member
    Join Date
    Jul 2006
    Location
    IndiaMDM
    Posts
    355

    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.

  2. #2
    Member
    Join Date
    Jul 2019
    Posts
    68
    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
    Registered User
    Join Date
    Jun 2019
    Posts
    30
    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
    8
    Log in to cPanel, scroll down to the Advanced section and click the Cron Jobs icon.

    Name:  cron-jobs-icon.png
Views: 4
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: 4
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: 4
Size:  12.2 KB

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

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.