[Настройка] onNewMinute

Описание настройки чего либо

Модераторы: immortal, newz20

dmw
Сообщения: 468
Зарегистрирован: Вт мар 12, 2013 1:22 am
Благодарил (а): 40 раз
Поблагодарили: 78 раз

Re: onNewMinute

Сообщение dmw » Ср мар 13, 2013 5:31 pm

sergejey писал(а):cycle.php надо запускать только (!) из консоли. Т.е. зайти в каталог и набрать php ./cycle.php (ну или /usr/bin/php ./cycle.php) и только так.
anemcov писал(а):Не надо цикл из браузера запускать - только из консоли.
У меня в crontab пользователя www-data добавлена строка:

Код: Выделить всё

@reboot /usr/bin/php /var/www/cycle.php
Аллилуйя, все работает вот уже 3-ий час, ттт!
Спасибо!
anemcov
Сообщения: 211
Зарегистрирован: Вт янв 08, 2013 11:50 pm
Откуда: Санкт-Петербург
Благодарил (а): 0
Поблагодарили: 5 раз

Re: onNewMinute

Сообщение anemcov » Ср мар 13, 2013 5:38 pm

dmw писал(а): Аллилуйя, все работает вот уже 3-ий час, ттт!
Спасибо!
Мои поздравления :)
Надеюсь, что 3 часа успешно превратятся в 3 дня (месяца, года).
У меня щас 6 дней бесперебойной работы. Вот только сегодня вечером придется обнулить эту цифру - обновления накатить надо будет
Sail
Сообщения: 8
Зарегистрирован: Ср фев 27, 2013 9:31 pm
Благодарил (а): 0
Поблагодарили: 0

Re: onNewMinute

Сообщение Sail » Сб мар 23, 2013 2:31 pm

тоже не срабатывает таймер, строчки коментировал не помогло, ubuntu server 12.04, с клиентского компьютера таймер запускается, сайт работает
вот лог апача:

[Sat Mar 23 12:14:11 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.5 with Suhosin-Patch configured -- resuming normal operations
[Sat Mar 23 12:14:14 2013] [error] [client 192.168.0.10] PHP Notice: Undefined index: COMPUTERNAME in /var/www/config.php on line 24, referer: http://192.168.0.26/
[Sat Mar 23 12:14:14 2013] [error] [client 192.168.0.10] PHP Notice: Undefined index: S2G_BASE_URL in /var/www/config.php on line 36, referer: http://192.168.0.26/
[Sat Mar 23 12:14:14 2013] [error] [client 192.168.0.10] PHP Notice: Undefined variable: found in /var/www/nf.php on line 53, referer: http://192.168.0.26/
[Sat Mar 23 12:14:14 2013] [error] [client 192.168.0.10] PHP Notice: Undefined variable: found in /var/www/nf.php on line 53, referer: http://192.168.0.26/
[Sat Mar 23 12:14:14 2013] [error] [client 192.168.0.10] PHP Notice: Undefined variable: found in /var/www/nf.php on line 53, referer: http://192.168.0.26/
[Sat Mar 23 12:14:14 2013] [error] [client 192.168.0.10] PHP Notice: Undefined variable: found in /var/www/nf.php on line 53, referer: http://192.168.0.26/
[Sat Mar 23 12:14:14 2013] [error] [client 192.168.0.10] PHP Notice: Undefined variable: found in /var/www/nf.php on line 53, referer: http://192.168.0.26/
[Sat Mar 23 12:14:14 2013] [error] [client 192.168.0.10] PHP Notice: Undefined variable: found in /var/www/nf.php on line 53, referer: http://192.168.0.26/
[Sat Mar 23 12:14:15 2013] [error] [client 192.168.0.10] PHP Notice: Undefined variable: res_str in /var/www/lib/module.class.php on line 719, referer: http://192.168.0.26/
[Sat Mar 23 12:14:15 2013] [error] [client 192.168.0.10] PHP Notice: Undefined offset: 1 in /var/www/lib/module.class.php on line 713, referer: http://192.168.0.26/
[Sat Mar 23 12:14:15 2013] [error] [client 192.168.0.10] PHP Notice: Undefined offset: 1 in /var/www/lib/module.class.php on line 714, referer: http://192.168.0.26/
[Sat Mar 23 12:14:15 2013] [error] [client 192.168.0.10] PHP Notice: Undefined offset: 1 in /var/www/lib/module.class.php on line 717, referer: http://192.168.0.26/
[Sat Mar 23 12:14:15 2013] [error] [client 192.168.0.10] PHP Notice: Undefined variable: params1 in /var/www/lib/module.class.php on line 142, referer: http://192.168.0.26/
[Sat Mar 23 12:14:15 2013] [error] [client 192.168.0.10] PHP Notice: Undefined offset: 2 in /var/www/lib/module.class.php on line 713, referer: http://192.168.0.26/
[Sat Mar 23 12:14:15 2013] [error] [client 192.168.0.10] PHP Notice: Undefined offset: 2 in /var/www/lib/module.class.php on line 714, referer: http://192.168.0.26/
[Sat Mar 23 12:14:15 2013] [error] [client 192.168.0.10] PHP Notice: Undefined offset: 1 in /var/www/lib/module.class.php on line 717, referer: http://192.168.0.26/
[Sat Mar 23 12:14:15 2013] [error] [client 192.168.0.10] PHP Notice: Undefined variable: params1 in /var/www/lib/module.class.php on line 142, referer: http://192.168.0.26/
[Sat Mar 23 12:14:15 2013] [error] [client 192.168.0.10] PHP Notice: Undefined variable: param_str in /var/www/lib/module.class.php on line 694, referer: http://192.168.0.26/
[Sat Mar 23 12:14:15 2013] [error] [client 192.168.0.10] PHP Notice: Undefined index: MEMORY_START in /var/www/lib/perfmonitor.class.php on line 38, referer: http://192.168.0.26/
[Sat Mar 23 12:14:15 2013] [error] [client 192.168.0.10] PHP Notice: date_default_timezone_set(): Timezone ID 'Europe/Tyumen' is invalid in /var/www/load_settings.php on line 15, referer: http://192.168.0.26/
[Sat Mar 23 12:14:15 2013] [error] [client 192.168.0.10] PHP Notice: Undefined index: nocache in /var/www/index.php on line 23, referer: http://192.168.0.26/
[Sat Mar 23 12:14:15 2013] [error] [client 192.168.0.10] PHP Notice: Undefined index: instance in /var/www/lib/module.class.php on line 204, referer: http://192.168.0.26/
[Sat Mar 23 12:14:15 2013] [error] [client 192.168.0.10] PHP Notice: Undefined index: COMPUTERNAME in /var/www/config.php on line 24, referer: http://192.168.0.26/menu.html
[Sat Mar 23 12:14:15 2013] [error] [client 192.168.0.10] PHP Notice: Undefined index: S2G_BASE_URL in /var/www/config.php on line 36, referer: http://192.168.0.26/menu.html
[Sat Mar 23 12:14:15 2013] [error] [client 192.168.0.10] PHP Notice: Undefined index: MEMORY_START in /var/www/lib/perfmonitor.class.php on line 38, referer: http://192.168.0.26/menu.html
[Sat Mar 23 12:14:16 2013] [error] [client 192.168.0.10] PHP Notice: date_default_timezone_set(): Timezone ID 'Europe/Tyumen' is invalid in /var/www/load_settings.php on line 15, referer: http://192.168.0.26/menu.html
[Sat Mar 23 12:14:16 2013] [error] [client 192.168.0.10] PHP Notice: Undefined index: nocache in /var/www/index.php on line 23, referer: http://192.168.0.26/menu.html
[Sat Mar 23 12:14:16 2013] [error] [client 192.168.0.10] PHP Notice: Undefined index: instance in /var/www/lib/module.class.php on line 204, referer: http://192.168.0.26/menu.html
[Sat Mar 23 12:14:16 2013] [error] [client 192.168.0.10] PHP Notice: Undefined property: application::$doc_name in /var/www/modules/application.class.php on line 114, referer: http://192.168.0.26/menu.html
[Sat Mar 23 12:14:16 2013] [error] [client 192.168.0.10] PHP Notice: Undefined index: AUTHORIZED in /var/www/modules/application.class.php on line 167, referer: http://192.168.0.26/menu.html
[Sat Mar 23 12:14:16 2013] [error] [client 192.168.0.10] PHP Notice: Undefined property: application::$doc in /var/www/modules/application.class.php on line 180, referer: http://192.168.0.26/menu.html
[Sat Mar 23 12:14:16 2013] [error] [client 192.168.0.10] PHP Notice: Undefined property: application::$doc_id in /var/www/modules/application.class.php on line 181, referer: http://192.168.0.26/menu.html
[Sat Mar 23 12:14:16 2013] [error] [client 192.168.0.10] PHP Notice: Undefined index: MY_MEMBER in /var/www/modules/application.class.php on line 183, referer: http://192.168.0.26/menu.html
[Sat Mar 23 12:14:16 2013] [error] [client 192.168.0.10] PHP Notice: Undefined property: application::$ajax in /var/www/modules/application.class.php on line 187, referer: http://192.168.0.26/menu.html
[Sat Mar 23 12:14:16 2013] [error] [client 192.168.0.10] PHP Notice: Undefined property: application::$popup in /var/www/modules/application.class.php on line 188, referer: http://192.168.0.26/menu.html
[Sat Mar 23 12:14:16 2013] [error] [client 192.168.0.10] PHP Notice: Use of undefined constant TODAY - assumed 'TODAY' in /var/www/modules/application.class.php on line 193, referer: http://192.168.0.26/menu.html
[Sat Mar 23 12:14:16 2013] [error] [client 192.168.0.10] PHP Notice: Undefined property: application::$ajax in /var/www/lib/jTemplate.class.php on line 72, referer: http://192.168.0.26/menu.html
[Sat Mar 23 12:14:16 2013] [error] [client 192.168.0.10] PHP Notice: Undefined property: jTemplate::$ajax in /var/www/lib/jTemplate.class.php on line 137, referer: http://192.168.0.26/menu.html
[Sat Mar 23 12:14:16 2013] [error] [client 192.168.0.10] PHP Notice: Undefined index: instance in /var/www/lib/module.class.php on line 204, referer: http://192.168.0.26/menu.html
[Sat Mar 23 12:14:16 2013] [error] [client 192.168.0.10] PHP Notice: Undefined index: commands in /var/www/lib/module.class.php on line 223, referer: http://192.168.0.26/menu.html
[Sat Mar 23 12:14:16 2013] [error] [client 192.168.0.10] PHP Notice: Undefined property: commands::$data_source in /var/www/modules/commands/commands.class.php on line 195, referer: http://192.168.0.26/menu.html
[Sat Mar 23 12:14:16 2013] [error] [client 192.168.0.10] PHP Notice: Undefined property: commands::$data_source in /var/www/modules/commands/commands.class.php on line 195, referer: http://192.168.0.26/menu.html
[Sat Mar 23 12:14:16 2013] [error] [client 192.168.0.10] PHP Notice: Undefined property: commands::$view_mode in /var/www/modules/commands/commands.class.php on line 196, referer: http://192.168.0.26/menu.html
[Sat Mar 23 12:14:16 2013] [error] [client 192.168.0.10] PHP Notice: Undefined property: application::$parent_item in /var/www/modules/commands/commands_search.inc.php on line 26, referer: http://192.168.0.26/menu.html
[Sat Mar 23 12:14:16 2013] [error] [client 192.168.0.10] PHP Notice: Undefined property: commands::$parent_item in /var/www/modules/commands/commands_search.inc.php on line 30, referer: http://192.168.0.26/menu.html
[Sat Mar 23 12:14:16 2013] [error] [client 192.168.0.10] PHP Notice: Undefined property: commands::$id in /var/www/modules/commands/commands_search.inc.php on line 37, referer: http://192.168.0.26/menu.html
[Sat Mar 23 12:14:16 2013] [error] [client 192.168.0.10] PHP Notice: Undefined index: commands_sort in /var/www/modules/commands/commands_search.inc.php on line 60, referer: http://192.168.0.26/menu.html
[Sat Mar 23 12:14:16 2013] [error] [client 192.168.0.10] PHP Notice: Undefined property: commands::$ajax in /var/www/lib/jTemplate.class.php on line 72, referer: http://192.168.0.26/menu.html
[Sat Mar 23 12:14:16 2013] [error] [client 192.168.0.10] PHP Notice: Undefined property: jTemplate::$ajax in /var/www/lib/jTemplate.class.php on line 137, referer: http://192.168.0.26/menu.html
[Sat Mar 23 12:14:16 2013] [error] [client 192.168.0.10] PHP Notice: Undefined index: instance in /var/www/lib/jTemplate.class.php on line 532, referer: http://192.168.0.26/menu.html
[Sat Mar 23 12:14:16 2013] [error] [client 192.168.0.10] PHP Notice: Undefined index: instance in /var/www/lib/jTemplate.class.php on line 535, referer: http://192.168.0.26/menu.html
anemcov
Сообщения: 211
Зарегистрирован: Вт янв 08, 2013 11:50 pm
Откуда: Санкт-Петербург
Благодарил (а): 0
Поблагодарили: 5 раз

Re: onNewMinute

Сообщение anemcov » Сб мар 23, 2013 3:08 pm

Вы что, тоже пытаетесь cycle.php из браузера запускать?
Sail
Сообщения: 8
Зарегистрирован: Ср фев 27, 2013 9:31 pm
Благодарил (а): 0
Поблагодарили: 0

Re: onNewMinute

Сообщение Sail » Вс мар 24, 2013 8:16 am

прошу прощения оказалось что cycle.php вообще не запускался стояла версия 0.2.0b и выдавал кучу ошибок
после переустановки на последнюю версию cycle.php выдал везде OK но в конце написал
Call to undefined function curl_init() in /var/www/modules/objects/objects.class.php on line 279
Curl не устанавливается вообще установщик говорит - Невозможно получить некоторые архивы
буду пробовать устанавливать вручную
Sail
Сообщения: 8
Зарегистрирован: Ср фев 27, 2013 9:31 pm
Благодарил (а): 0
Поблагодарили: 0

Re: onNewMinute

Сообщение Sail » Вс мар 24, 2013 11:28 am

разобрался:
Curl не устанавливался пока не обновил
sudo apt-get update
а затем все установилось
sudo apt-get install curl libcurl3 libcurl3-dev php5-curl

как описанно выше, добавил в кронтаб строчку
@reboot /usr/bin/php /var/www/cycle.php
onNewMinute отрабатывает.
спасибо разработчику и всем кто принимал участие в обсуждении.
dark_avenger
Сообщения: 9
Зарегистрирован: Чт окт 17, 2013 2:09 pm
Благодарил (а): 0
Поблагодарили: 0

Re: onNewMinute

Сообщение dark_avenger » Пн окт 21, 2013 6:41 pm

Тоже постигла меня проблема с сабжем... Сделал DebMes($url); в objects.class.php и выяснилось, что система пытается запустить адрес с портом 80. Хотя в панели управления я вижу 81 порт. Изменил в config.php, BASE_URL на http://127.0.0.1:81 и вроде бы вот оно счастье, да новое несчастье постигло ) Теперь он срабатывается дважды. Почему так решил - вставил say(timeNow()); в объект ClockChime, метод onNewMinute и теперь Алиса дважды произносит мне время каждую минуту...
Два вопроса:
1. Почему она говорит дважды?
2. Ничего страшного что я изменил BASE_URL ?
Toutlemond
Сообщения: 25
Зарегистрирован: Ср дек 05, 2012 10:58 am
Благодарил (а): 0
Поблагодарили: 1 раз

Re: onNewMinute

Сообщение Toutlemond » Пн ноя 18, 2013 1:41 pm

Всем привет!
У меня так же проблема. На линуксе Ubuntu 13.04
Не работает onNewMinute!
А сам cycle.php Отваливается проработав примерно равное время.. около 40 минут я думаю.

Вот код запуска из консоли цикла. В конце концов он крутится и пишет
PHP Notice: Undefined offset: 1 in /var/www/lib/objects.class.php on line 100
PHP Notice: Undefined offset: 0 in /var/www/lib/objects.class.php on line 43

Код: Выделить всё

btdevices ...OK
calendar_categories ...OK
calendar_events ...OK
classes ...OK
collections ...OK
commands ...OK
elements ...OK
elm_states ...OK
events ...OK
gpsactions ...OK
gpsdevices ...OK
gpslocations ...OK
gpslog ...OK
history ...OK
jobs ...OK
layouts ...OK
locations ...OK
media_favorites ...OK
methods ...OK
mqtt ...OK
newsletter ...OK
objects ...OK
owdevices ...OK
owdisplays ...OK
owproperties ...OK
patterns ...OK
phistory ...OK
pinghosts ...OK
prod_categories ...OK
product_categories ...OK
product_codes ...OK
product_log ...OK
products ...OK
project_modules ...OK
properties ...OK
pvalues ...OK
readit_channels ...OK
readit_urls ...OK
rss_channels ...OK
rss_items ...OK
safe_execs ...OK
scenes ...OK
script_categories ...OK
scripts ...OK
security_rules ...OK
settings ...OK
shoplist ...OK
shopping_list_items ...OK
shoutrooms ...OK
shouts ...OK
snmpdevices ...OK
snmpproperties ...OK
tdwiki ...OK
terminals ...OK
usbdevices ...OK
userlog ...OK
users ...OK
watchfolders ...OK
webvars ...OK
zwave_devices ...OK
zwave_properties ...OK
Starting ./scripts/cycle_webvars.php ... OK
Starting ./scripts/cycle_ping.php ... OK
Starting ./scripts/cycle_states.php ... OK
Starting ./scripts/cycle_X101_skype.php ... OK
Starting ./scripts/cycle_onewire.php ... OK
Starting ./scripts/cycle_scheduler.php ... OK
Starting ./scripts/cycle_bluetooth.php ... OK
Starting ./scripts/cycle_execs.php ... OK
Starting ./scripts/cycle_main.php ... OK
Starting ./scripts/cycle_skype.php ... OK
Starting ./scripts/cycle_rss.php ... OK
Starting ./scripts/cycle_zwave.php ... OK
Starting ./scripts/cycle_snmp.php ... OK
Starting ./scripts/cycle_watchfolders.php ... OK
Starting ./scripts/cycle_onewire_starred.php ... OK
ALL CYCLES STARTED
PHP Notice:  Undefined index: COMPUTERNAME in /var/www/config.php on line 24
PHP Notice:  Undefined index: S2G_BASE_URL in /var/www/config.php on line 36
PHP Notice:  Undefined index: SERVER_NAME in /var/www/config.php on line 45
PHP Notice:  Undefined index: REQUEST_URI in /var/www/lib/loader.php on line 15
PHP Notice:  Undefined index: COMPUTERNAME in /var/www/config.php on line 24
PHP Notice:  Undefined index: COMPUTERNAME in /var/www/config.php on line 24
PHP Notice:  Undefined index: S2G_BASE_URL in /var/www/config.php on line 36
PHP Notice:  Undefined index: SERVER_NAME in /var/www/config.php on line 45
PHP Notice:  Undefined index: REQUEST_URI in /var/www/lib/loader.php on line 15
PHP Notice:  Undefined index: REQUEST_METHOD in /var/www/lib/general.class.php o                                       n line 48
PHP Notice:  Undefined index: REQUEST_METHOD in /var/www/lib/general.class.php o                                       n line 74
PHP Notice:  Undefined index: S2G_BASE_URL in /var/www/config.php on line 36
PHP Notice:  Undefined index: SERVER_NAME in /var/www/config.php on line 45
PHP Notice:  Undefined index: REQUEST_URI in /var/www/lib/loader.php on line 15
PHP Notice:  Undefined index: COMPUTERNAME in /var/www/config.php on line 24
PHP Notice:  Undefined index: S2G_BASE_URL in /var/www/config.php on line 36
PHP Notice:  Undefined index: SERVER_NAME in /var/www/config.php on line 45
PHP Notice:  Undefined index: REQUEST_URI in /var/www/lib/loader.php on line 15
PHP Notice:  Undefined index: COMPUTERNAME in /var/www/config.php on line 24
PHP Notice:  Undefined index: S2G_BASE_URL in /var/www/config.php on line 36
PHP Notice:  Undefined index: SERVER_NAME in /var/www/config.php on line 45
PHP Notice:  Undefined index: REQUEST_URI in /var/www/lib/loader.php on line 15
PHP Notice:  Undefined index: COMPUTERNAME in /var/www/config.php on line 24
PHP Notice:  Undefined index: S2G_BASE_URL in /var/www/config.php on line 36
PHP Notice:  Undefined index: SERVER_NAME in /var/www/config.php on line 45
PHP Notice:  Undefined index: REQUEST_URI in /var/www/lib/loader.php on line 15
PHP Notice:  Undefined index: COMPUTERNAME in /var/www/config.php on line 24
PHP Notice:  Undefined index: S2G_BASE_URL in /var/www/config.php on line 36
PHP Notice:  Undefined index: SERVER_NAME in /var/www/config.php on line 45
PHP Notice:  Undefined index: REQUEST_URI in /var/www/lib/loader.php on line 15
PHP Notice:  Undefined index: COMPUTERNAME in /var/www/config.php on line 24
PHP Notice:  Undefined index: COMPUTERNAME in /var/www/config.php on line 24
PHP Notice:  Undefined index: S2G_BASE_URL in /var/www/config.php on line 36
PHP Notice:  Undefined index: COMPUTERNAME in /var/www/config.php on line 24
PHP Notice:  Undefined index: S2G_BASE_URL in /var/www/config.php on line 36
PHP Notice:  Undefined index: SERVER_NAME in /var/www/config.php on line 45
PHP Notice:  Undefined index: S2G_BASE_URL in /var/www/config.php on line 36
PHP Notice:  Undefined index: COMPUTERNAME in /var/www/config.php on line 24
PHP Notice:  Undefined index: S2G_BASE_URL in /var/www/config.php on line 36
PHP Notice:  Undefined index: SERVER_NAME in /var/www/config.php on line 45
PHP Notice:  Undefined index: REQUEST_URI in /var/www/lib/loader.php on line 15
PHP Notice:  Undefined index: SERVER_NAME in /var/www/config.php on line 45
PHP Notice:  Undefined index: REQUEST_URI in /var/www/lib/loader.php on line 15
PHP Notice:  Undefined index: COMPUTERNAME in /var/www/config.php on line 24
PHP Notice:  Undefined index: REQUEST_URI in /var/www/lib/loader.php on line 15
PHP Notice:  Undefined index: COMPUTERNAME in /var/www/config.php on line 24
PHP Notice:  Undefined index: S2G_BASE_URL in /var/www/config.php on line 36
PHP Notice:  Undefined index: SERVER_NAME in /var/www/config.php on line 45
PHP Notice:  Undefined index: REQUEST_URI in /var/www/lib/loader.php on line 15
PHP Notice:  Undefined index: SERVER_NAME in /var/www/config.php on line 45
PHP Notice:  Undefined index: REQUEST_URI in /var/www/lib/loader.php on line 15
PHP Notice:  Undefined index: S2G_BASE_URL in /var/www/config.php on line 36
PHP Notice:  Undefined index: SERVER_NAME in /var/www/config.php on line 45
PHP Notice:  Undefined index: REQUEST_URI in /var/www/lib/loader.php on line 15
PHP Notice:  Undefined index: REQUEST_METHOD in /var/www/lib/general.class.php o                                       n line 48
PHP Notice:  Undefined index: COMPUTERNAME in /var/www/config.php on line 24
PHP Notice:  Undefined index: S2G_BASE_URL in /var/www/config.php on line 36
PHP Notice:  Undefined index: SERVER_NAME in /var/www/config.php on line 45
PHP Notice:  Undefined index: REQUEST_METHOD in /var/www/lib/general.class.php o                                       n line 74
PHP Notice:  Undefined index: REQUEST_METHOD in /var/www/lib/general.class.php o                                       n line 48
PHP Notice:  Undefined index: REQUEST_METHOD in /var/www/lib/general.class.php o                                       n line 48
PHP Notice:  Undefined index: REQUEST_METHOD in /var/www/lib/general.class.php o                                       n line 74
PHP Notice:  Undefined index: REQUEST_METHOD in /var/www/lib/general.class.php o                                       n line 48
PHP Notice:  Undefined index: REQUEST_METHOD in /var/www/lib/general.class.php o                                       n line 74
PHP Notice:  Undefined index: REQUEST_METHOD in /var/www/lib/general.class.php o                                       n line 48
PHP Notice:  Undefined index: REQUEST_URI in /var/www/lib/loader.php on line 15
PHP Notice:  Undefined index: REQUEST_METHOD in /var/www/lib/general.class.php o                                       n line 74
PHP Notice:  Undefined index: REQUEST_METHOD in /var/www/lib/general.class.php o                                       n line 48
PHP Notice:  Undefined index: COMPUTERNAME in /var/www/config.php on line 24
PHP Notice:  Undefined index: REQUEST_METHOD in /var/www/lib/general.class.php o                                       n line 48
PHP Notice:  Undefined index: REQUEST_METHOD in /var/www/lib/general.class.php o                                       n line 74
PHP Notice:  Undefined index: REQUEST_METHOD in /var/www/lib/general.class.php o                                       n line 74
PHP Notice:  Undefined index: REQUEST_METHOD in /var/www/lib/general.class.php o                                       n line 48
PHP Notice:  Undefined index: REQUEST_METHOD in /var/www/lib/general.class.php o                                       n line 74
PHP Notice:  Undefined index: REQUEST_METHOD in /var/www/lib/general.class.php o                                       n line 48
PHP Notice:  Undefined offset: 1 in /var/www/lib/objects.class.php on line 100
PHP Notice:  Undefined index: REQUEST_METHOD in /var/www/lib/general.class.php o                                       n line 74
PHP Notice:  Undefined index: S2G_BASE_URL in /var/www/config.php on line 36
PHP Notice:  Undefined index: SERVER_NAME in /var/www/config.php on line 45
PHP Notice:  Undefined index: REQUEST_URI in /var/www/lib/loader.php on line 15
PHP Notice:  Undefined index: REQUEST_METHOD in /var/www/lib/general.class.php o                                       n line 74
PHP Notice:  Undefined index: REQUEST_METHOD in /var/www/lib/general.class.php o                                       n line 48
PHP Notice:  Undefined index: REQUEST_METHOD in /var/www/lib/general.class.php o                                       n line 74
PHP Notice:  Undefined index: REQUEST_METHOD in /var/www/lib/general.class.php o                                       n line 48
PHP Notice:  Undefined index: REQUEST_METHOD in /var/www/lib/general.class.php o                                       n line 48
PHP Notice:  Undefined index: REQUEST_METHOD in /var/www/lib/general.class.php o                                       n line 74
PHP Notice:  Undefined index: REQUEST_METHOD in /var/www/lib/general.class.php o                                       n line 74
PHP Notice:  Undefined index: REQUEST_METHOD in /var/www/lib/general.class.php o                                       n line 48
PHP Notice:  Undefined index: REQUEST_METHOD in /var/www/lib/general.class.php o                                       n line 74
PHP Notice:  Undefined index: REQUEST_METHOD in /var/www/lib/general.class.php o                                       n line 48
PHP Notice:  Undefined index: REQUEST_METHOD in /var/www/lib/general.class.php o                                       n line 74
PHP Notice:  Undefined offset: 1 in /var/www/lib/objects.class.php on line 100
PHP Notice:  Undefined offset: 1 in /var/www/lib/objects.class.php on line 100
PHP Notice:  Undefined offset: 1 in /var/www/lib/objects.class.php on line 100
PHP Notice:  Undefined index: once in /var/www/scripts/cycle_states.php on line                                        20
PHP Notice:  Undefined offset: 1 in /var/www/lib/objects.class.php on line 100
PHP Notice:  Undefined offset: 1 in /var/www/lib/objects.class.php on line 100
PHP Notice:  Undefined offset: 1 in /var/www/lib/objects.class.php on line 100
PHP Notice:  Undefined offset: 1 in /var/www/lib/objects.class.php on line 100
PHP Notice:  Undefined offset: 0 in /var/www/lib/objects.class.php on line 43
PHP Notice:  Undefined offset: 1 in /var/www/lib/objects.class.php on line 100
PHP Notice:  Undefined offset: 1 in /var/www/lib/objects.class.php on line 100
PHP Notice:  Undefined offset: 1 in /var/www/lib/objects.class.php on line 100
PHP Notice:  Undefined offset: 1 in /var/www/lib/objects.class.php on line 100
PHP Notice:  Undefined offset: 0 in /var/www/lib/objects.class.php on line 43
PHP Notice:  Undefined offset: 1 in /var/www/lib/objects.class.php on line 100
PHP Notice:  Undefined offset: 1 in /var/www/lib/objects.class.php on line 100
PHP Notice:  Undefined offset: 1 in /var/www/lib/objects.class.php on line 100
PHP Notice:  Undefined offset: 1 in /var/www/lib/objects.class.php on line 100
PHP Notice:  Undefined offset: 0 in /var/www/lib/objects.class.php on line 43
^XPHP Notice:  Undefined offset: 1 in /var/www/lib/objects.class.php on line 100
PHP Notice:  Undefined offset: 1 in /var/www/lib/objects.class.php on line 100
PHP Notice:  Undefined offset: 1 in /var/www/lib/objects.class.php on line 100
PHP Notice:  Undefined offset: 1 in /var/www/lib/objects.class.php on line 100
PHP Notice:  Undefined offset: 0 in /var/www/lib/objects.class.php on line 43
ErmolenkoM
Сообщения: 560
Зарегистрирован: Ср сен 04, 2013 10:31 am
Откуда: Самара
Благодарил (а): 99 раз
Поблагодарили: 138 раз
Контактная информация:

Re: onNewMinute

Сообщение ErmolenkoM » Пн ноя 18, 2013 7:05 pm

У меня так же проблема. На линуксе Ubuntu 13.04
Не работает onNewMinute!
А сам cycle.php Отваливается проработав примерно равное время.. около 40 минут я думаю.
У меня убунта 12.
Проблемы с циклами были по следующим причинам:
1. ПРАВА!!!! Дать повторно, проверить. Проверить на каталог lib. Короче много с правами возился.
2. Подвисало из-за моих кривых настроек (cycle_execs не закрывался).

думаю 40 минут тут не причем: просто раз в час здоровье системы проверяется, совпало.
и убери НОТИСЫ из лога, описание где-то тут было.
aka msh555
Cubian на Cubietruck, Connect
Toutlemond
Сообщения: 25
Зарегистрирован: Ср дек 05, 2012 10:58 am
Благодарил (а): 0
Поблагодарили: 1 раз

Re: onNewMinute

Сообщение Toutlemond » Вт ноя 19, 2013 6:27 am

msh555
Сейчас тупо дал всему в папке var/www права 777.
один фиг не фурычит...
Ответить