Setup cPanel Cron Job
|Cron is required to be set up for Ixonn if you want all features to works as expected.|
Setup cPanel Cron Job
Login to your cPanel and navigate to Cron jobs
Add the following settings :
wget -q -O- http://yourdomain.com/crm/cron/index
Change the URL according to your base URL
- Eq. if it’s on root domain you need to type only http://yourdomain.com/cron/index
- Eq. on subfolder /crm you will need to type http://yourdomain.com/crm/cron/index
- If your base URL starts with https://, make sure that you configure the cron job URL to start with https://
|This is CRON Job URL and not a path. Your server needs to support wget command to call the wget command and execute. You can find your Ixonn installation cron job url located at Setup->Settings->Cron Job|
Plesk Cron Job
Refer to cPanel cron job examples to get your cron URL.
For Plesk use one of the following configurations:
If the first example is not working for you try this config:
My server does not support wget command?
If your server does not support wget command you try one of the following commands:
php /home/username/public_html/installation_folder/index.php cron/index >> /dev/null
php /home/username/public_html/installation_folder/index.php cron/index
If that doesn’t work, it probably means you don’t have the package php5-cli installed. On debian / ubuntu you can install this package as follows:
|sudo apt-get install php5-cli|
If you are not able to install packages, you can specify your path to php try the following command:
|/usr/local/bin/php -f /home/username/public_html/installation_folder/index.php cron index|
Replace username and installation_folder to fit your path.
If none of the commands are not working, you can use some free cron job service like https://www.easycron.com. Mostly the free cron job services have a limit to execute every 20 minutes but it will work well too with Ixonn.
Testing the cron job
In order to test if your cron job config works fine after you configure it, you can create custom staff reminder.
From the main menu click Customers -> [Customer] -> Reminders tab and create a reminder for your user with the nearest date eq if your time is 09:50 add reminder for 09:51. Wait 5 minutes the cron job to run to notify you, you should receive a notification inside the CRM, the notification should be visible on the top right side bell.
If you received the notification, then this means that the cron job config is properly configured.