- Модуль: imconnector
- Путь к файлу: ~/bitrix/modules/imconnector/lib/infoconnectors.php
- Класс: BitrixImConnectorInfoConnectors
- Вызов: InfoConnectors::addAllLinesUpdateAgent
static function addAllLinesUpdateAgent($isCalledRecursively = 0, $interval = Library::LOCAL_AGENT_EXEC_INTERVAL): void
{
/** @see self::infoConnectorsUpdateAgent */
$method = __CLASS__ . '::infoConnectorsUpdateAgent('.(int)$isCalledRecursively.');';
CAgent::AddAgent(
$method,
'imconnector',
'N',
$interval,
'',
'Y',
ConvertTimeStamp((time() + CTimeZone::GetOffset() + $interval), 'FULL')
);
global $APPLICATION;
if ($APPLICATION instanceof CMain)
{
$APPLICATION->resetException();
}
}