OxWall Software Cron Configuration Guide

Oxwall Software Cron Configuration Guide

General command.

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.

Use ONE of the following commands:

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


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

or simply

curl 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:

/usr/local/bin/php /home/site/public_html/ow_cron/run.php

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.

Tags: , , , , , , , , , , , , | Posted under Oxwall | RSS 2.0

Author Spotlight

Charles Benson

I'm here to find you answers and give you tips on running an oxwall based website through Arvixe Web hosting. If you need anything at all feel free to get in touch with me!

5 Comments on OxWall Software Cron Configuration Guide

  1. Sandy says:

    It’s a pity you don’t have a donate button! I’d certainly donate to this outstanding blog! I suppose for now i’ll settle for bookmarking and adding your RSS feed to my Google account. I look forward to new updates and will talk about this blog with my Facebook group. Talk soon!

  2. Hugh says:

    Hi there everyone, it’s my first pay a visit at this website, and post is in fact fruitful in support of me, keep up posting these content.

  3. Appreciating the commitment you put into your site and detailed information you present.
    It’s nice to come across a blog every once in a while that isn’t the same old rehashed information.
    Fantastic read! I’ve saved your site and I’m adding
    your RSS feeds to my Google account.

  4. Carolyn says:

    Asking questions are in fact good thing if you are not understanding anything
    completely, however this paragraph provides pleasant understanding

  5. miniurl.com says:

    Good blog you’ve got here.. It’s difficult to find good quality writing like yours these
    days. I seriously appreciate individuals like you!
    Take care!!

Leave a Reply

Your email address will not be published. Required fields are marked *