Oxwall Software Cron Configuration Guide
To have your site working properly you have to create a cron job to run ow_cron/run.php every minute.
Cron command could be added via Cpanel/Cron Jobs.
Depending on hosting settings, cron command can be run via HTTP or by local execution.
Run cron via HTTP (Recommended from version 1.3.2 as an easiest way)
Use ONE of the following commands:
wget -q -O /dev/null http://www.yoursite.com/ow_cron/run.php
|Note: replace http://www.yoursite.com/ with your actual domain name.|
|Note: this method is affordable for common operations made on site regularly (updating user’s activity, sending emails and etc).
In case when you have heavy tasks, like import profiles or data backup, then it is strongly recommended to run cron locally
Run cron locally
Some hosting companies do not permit local loopback, so using wget, lynx or curl will not work. Or when you have heavy tasks, like import profiles or data backup, then running Cron task will fail due to server limitations.
If this is one of cases use the following command to setup cron job via Cpanel/Cron Jobs to run locally:
Note: replace path to PHP (/usr/local/bin/php) and path to Oxwall cron file (/home/site/public_html/ow_cron/run.php) with yours. Here is a short manual to get these values:
– Login to your server via SSH
– Run cd [path-to-your-Oxwall-homedir]/ow_cron command to enter the Cron folder
– Run pwd command
– You will see the path to the Cron folder (e. g. /home/yoursite/public_html/ow_cron)
– Run which php command
– You will see the path to PHP (e. g. /usr/local/bin/php)
Note: contact your hosting company if you have troubles with connecting via SSH.