Knowledge Base

How to configure the SugarCRM cron routine

This article describes how to configure the SugarCRM cron routine.

Configuring the SugarCRM cron routine

To configure the SugarCRM cron routine, follow these steps:

  1. Log in to cPanel.
    If you do not know how to log in to your cPanel account, please see this article.
  2. In the Advanced section of the cPanel home screen, click Cron jobs.
  3. Under Add New Cron Job, in the Minute text box, type */15.
    The shortest interval allowed for cron jobs on shared hosting accounts is every 15 minutes. If you have a different type of account (such as a VPS), you can type * instead, and the cron job will run every minute.
  4. In the Hour, Day, Month, and Weekday text boxes, type *.
  5. In the Command text box, type the following command. Replace username with your A2 Hosting account username:
    cd /home/username/public_html && /usr/local/bin/php -f cron.php >/dev/null 2>&1
    This command assumes that you installed SugarCRM in the public_html (document root) directory. If you installed SugarCRM in a subdirectory, specify that path instead.
  6. Click Add New Cron Job. Your account will now automatically run SugarCRM's cron.php file at the specified interval.