---------------------------------------------------------------------------

		             PRICE COMPARISON
			     CRONJOB INSTALLATION README

---------------------------------------------------------------------------
							DATED : 16/11/2016
---------------------------------------------------------------------------

Installation Guide
==================

---------------------------------------------------------------------------
**OPTION 1**

If you have ssh access, then we recommend adding a shell script that runs
all the necessary cronjobs.

This shell script will execute the autofeed job first and then all other
necessary jobs.

An example shell script can be found in this same directory with filename
cronjobs.sh

You can edit the cronjobs.sh according to your server and then call that
file in the cronjob

---------------------------------------------------------------------------
**OPTION 2**

If you cant run the shell scripts then you can try with the shell commands
in the cronjobs.

- Setup this job to run once a day if required:

	cd <PATH-TO-YOUR-SCRIPT-ROOT>;php admin/autofeed_cronjob_ssh.php;sleep 120;php admin/cronjobs/cronjob_category_lastlevel_ssh.php;sleep 120;php admin/cronjobs/cronjob_daily_ssh.php

Change <PATH-TO-YOUR-SCRIPT-ROOT> to your actual folder name like
	cd /home/user/public_html/;php admin/autofeed_cronjob_ssh.php;sleep 120;php admin/cronjobs/cronjob_category_lastlevel_ssh.php;sleep 120;php admin/cronjobs/cronjob_daily_ssh.php


---------------------------------------------------------------------------
**OPTION 3**

If you can only run jobs in browser or by http call:
But REMEMBER jobs in browser can timeout.

- Run these cronjobs once a day.

	lynx -dump http://www.your-domain.com/admin/cronjobs/cronjob_daily.php					(Run all necessary cronjobs)

- Run these cronjobs once a week.
	Open in your favorite brower http://www.your-domain.com/admin/cronjobs/cronjob_category_lastlevel.php	(builds category breadcrumb and cache it for optimization)	


---------------------------------------------------------------------------
