> ## Documentation Index
> Fetch the complete documentation index at: https://kb.hosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Configuring the SugarCRM cron routine

> SugarCRM includes a cron routine to carry out various tasks. Use our easy step-by-step article to learn how to configure it.

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.
   > 📘 Note
   >
   > If you do not know how to log in to your cPanel account, please see [this article](/docs/accessing-cpanel).

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`.
   > 📘 Note
   >
   > 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:

```
cd {$HOME}/public_html && /usr/local/bin/php -f cron.php >/dev/null 2>&1
```

<Note>
  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.
</Note>

6. Click **Add New Cron Job**. Your account will now automatically run SugarCRM's cron.php file at the specified interval.

## Related articles

* [SugarCRM](/docs/sugarcrm)
