Username:    Password:        Click Here To Signup     Forgotten Password
Main Menu
Online
Members: 0

Guests: 14

112.111.x.x forum
119.96.x.x forum
123.151.x.x forum
175.44.x.x forum
175.44.x.x signup
192.151.x.x forum
208.115.x.x dilbertplus
220.181.x.x forum
220.249.x.x forum
36.248.x.x forum
5.63.x.x news
50.17.x.x forum
69.175.x.x forum
91.185.x.x news

Last Seen

xMin Sat 06:32
palyarmerc Sat 06:00
mkden Sat 04:30
game_stats.eu Sat 04:27
Mikro Sat 02:39

Newest Members

Forums
Работа LGSL
Pasha
Wed Jul 28 2010, 03:03PM Quote
Posts: 1
Joined: Wed Jul 28 2010, 02:41PM
Registered Member #6184
Приветствую. Вопрос по работе скрипта lgsl, при каждом обновлении страницы скрипт записывает данные в БД или с интервалом в целях экономии трафика? Всетаки думаю с интервалом. В БД нашел поле cache и так же поле cache_time.

Моя задумка сделать обновление только через lgsl_cron. Запускать с диапазоном в 5ть минут. Это нам позволит сделать поиск по карте, игрокам, etc. Хотя со стороны экономии трафика не знаю.

Нашел документацию по lgsl_cron.php, знаю что обновление данных о серверах но пока не совсем понятно.
If you have more than 20 servers in your list, and you need the server information to be
more accurate as to current players and map information, then you can schedule updates.

Since LGSL updates when viewed, there has to be a limit on the update time otherwise the
page would take a long time to load while it polls all the servers.

By scheduling the webserver to 'view' LGSL at regular intervals, the server information
is cached ready for when a visitor views LGSL. Scheduling on webservers is known as a 'cron job'.

Setting up a cron differs between hosts, so you may need find out what method your host supports,
but here are examples of cron commands that I have used in the past.


curl --compressed -s -o /dev/null http://URL/lgsl/lgsl_files/lgsl_cron.php
wget -q -O /dev/null http://URL/lgsl/lgsl_files/lgsl_cron.php
php -q /public_html/lgsl/lgsl_files/lgsl_cron.php


Before setting up the cron, its recommended that you view the lgsl_cron.php in your browser to
make sure that there are no errors, and you can see how long it takes to update the servers.
Website
dave19901
Sun Jun 12 2011, 05:18AM Quote
Posts: 6
Joined: Fri Jun 10 2011, 10:53AM
Registered Member #6765
how i can disable the auto caching?
Anonymous
Thu Jul 28 2011, 10:52AM Quote
Guest How disable auto cashe and enable cron running?
Anonymous
Thu Jul 28 2011, 10:53AM Quote
Guest Как выключить автоматическое создание кеша и включить обновление кеша по крону?
Anonymous
Thu Aug 11 2011, 04:32PM Quote
Guest Как устранить такую проблему? (не показываются картинки)
это ссылка с мониторинга
http://мой сайт/#LGSL_PATH_PROBLEM#/var/www/мой сайт#/var/www/joomla/components/com_lgsl/lgsl_files#/locations/OFF.png
Anonymous
Fri Aug 26 2011, 04:02PM Quote
Guest Русский: Где найти [ REQUIRES ADMIN APPROVAL ]?

English: Where can I find [ REQUIRES ADMIN APPROVAL ]?
 

Jump:     Back to top

Begin New Thread

Quick Reply:

 


You are not logged in - Click Here To Signup

Username:    Password:   

Mini Buttons

.... © GreyCube.com - Richard Perry - Powered by e107.org