We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Cron for Dummies. | Forum

Topic location: Forum home » Support » General Questions
Alia Team
Alia Feb 17 '13

For those who do have control panel.


1. Log in to your control panel and find "Cron Jobs" icon ( screenshot is taken from cPanel).



2. "Add New Cron Jobs" form will open.

-choose one of the common settings ( ex: every 5 minutes or every minute). Once the common setting is selected, fields bellow will be prefiled with relevant information.

- Command: use one of the commands given at http://docs.oxwall.org/install:cron


a) wget -q -O /dev/null http://www.yoursite.com/ow_cron/run.php


b) lynx http://www.yoursite.com/ow_cron/run.php


c) curl http://www.yoursite.com/ow_cron/run.php


3. Click "Add a new Cron job". Done!




4. Test whether Cron works.


Login to your site as USER1 and then to close browser without loging out.


In another browser login as USER2, and if after 5 minutes ( giving that CRON is set to run every 5 minutes) USER1 is still shown as "online" under "Members" section of your site, then CRON is NOT working.


In this case try using another command and test once more.