> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://docs.clientexec.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How To Set Up Cron Job

To manually set up the Cron Job on Clientexec:

1. First, you can find your cron job command at **Settings** > **Plugins** > **Automation Services**.

2. Copy this so you can use it when you setup a cron job to run in cPanel, Directadmin, etc.

3. Typically, the cron job command to setup would be:

**php -q /path/to/ce/cron.php**

where /path/to/ce would be /home/username/public\_html/cedirectory/

Sometimes, webhosts setup servers differently - so the cron may have to be modified, for example  ...

/usr/local/bin/php -c /home/My-Account-Name/public\_html/php.ini -q /home/My-Account-Name/public\_html/cedirectory/cron.php

The cron should be set to run every minute (\* \* \* \* \*)

In these cases, it is best to check with your webhost how to setup the cron correctly. Here is one for [BlueHost & JustHost](/en/article/bluehost-justhost-cronjobs-configuration-t6pr19/).

In the Run Schedule fields you can enter any format accepted by the Cron utility.

For example for the field Minute:

* : every minute
Number: e.g. 4 will make it run at :04
Range: e.g. 1-3 will make it run at :01, :02, :03
List: e.g. 1,3,7 will make it run at :01, :03, :07
Step: e.g. \*/3 will make it run every third minute
Range and step: 0-30/2 will make it run every other minute till :30

In Day of the Week you can enter a number in the range 0-6 (0 for Sunday) or a 3 letter shortcut (e.g. sun).

Back on **Settings** > **Plugins** > **Automation Services** in the dropdown you can manually select which services you need to have run for your specific set up and how often or when you want those specific crons to run. 
