Knowledgebase

How do I configure a cron job?

  1. Login to cPanel.
  2. Locate and click on the "Cron Jobs" icon under the "Advanced" category.
  3. Fill in the required information.
    • Common Settings - You can use this dropdown list to populate all but the last fields.
    • Minute - The minute setting for the cron job.
    • Hour - The hour setting for the cron job.
    • Day - The day setting for the cron job.
    • Month - The month setting for the cron job.
    • Weekday - The weekday setting for the cron job.
    • Command - The cron job command to execute. If you wanted to execute a script, the command would look similar to this:
      php -q /home/ACCOUNTNAME/public_html/script_in_my_root_directory.php



    Configuring the cron job
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Cannot connect to database

This error will occur within a web application when any of the following conditions are met:...

How to configure authentication email by using cPanel

First, you need to login the cPanel page. In the Mail section, click Authentication.   Domain...

What are error pages?

Error pages are the pages displayed when a user tries to access a location on your site and...

How to enable compression on website?

Issue: When you check your website using http header tools you can see that your website is not...

How can I change my default PHP timezone?

Issue: Why my application keep showing UTC time? this has cause my application not to log the...