Automating Order Provisoning
First, you will need to enable the order processor service under Settings > Plugins > Automation Services (select Order Processor from the dropdown).
Once this is enabled, you will then need to setup a cron job to run in cPanel, Directadmin, etc.
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.
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).
Once this is enabled, you will then need to setup a cron job to run in cPanel, Directadmin, etc.
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.
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).
Updated on: 15/12/2023
Thank you!