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 request or by local execution.
Find “Cron Jobs” icon in your cPanel. If you are not sure where to go check * Cron jobs guide on CPanel.
Set needed time in Add New Cron Job section. Use one of the following commands for Command field:
wget -q -O /dev/null http://www.yoursite.com/ow_cron/run.php
|Note: replace http://www.yoursite.com/ with your actual domain name.|
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 the cases follow steps given bellow to create command to setup cron job via Cpanel/Cron Jobs to run locally. Instructions are given based on assumption that you have ssh access and any ssh client.
- 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)
Put two paths you got into one: path to PHP/path to Cron folder: For example:
Use this command in Add New Cron Job section in cPanel.
Note: contact your hosting company if you have troubles with connecting via SSH.
If your hosting provider doesn't provide a cron utility or you just don't want to spend time configuring it, then you can use some of the online cron services listed below: