uawdijnntqw1x1x1
IP : 3.15.147.225
Hostname : axolotl
Kernel : Linux axolotl 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
OS : Linux
PATH:
/
var
/
www
/
axolotl
/
data
/
www
/
samara.axolotls.ru
/
bitrix
/
modules
/
tasks
/
lib
/
util
/
agentmanager.php
/
/
<? /** * Class contains agent functions. Place all new agents here. * * This class is for internal use only, not a part of public API. * It can be changed at any time without notification. * * @access private */ namespace Bitrix\Tasks\Util; use Bitrix\Tasks\Item\SystemLog; final class AgentManager { public static function notificationThrottleRelease() { \CTaskNotifications::throttleRelease(); return '\\'.__CLASS__."::notificationThrottleRelease();"; } public static function sendReminder() { \CTaskReminders::SendAgent(); return '\\'.__CLASS__."::sendReminder();"; } public static function rotateSystemLog() { SystemLog::rotate(); return '\\'.__CLASS__."::rotateSystemLog();"; } public static function createOverdueChats() { \Bitrix\Tasks\Util\Notification\Task::createOverdueChats(); return '\\'.__CLASS__."::createOverdueChats();"; } public static function checkAgentIsAlive($name, $interval) { $name = '\\'.__CLASS__.'::'.$name.'();'; $agent = \CAgent::GetList(array(), array('MODULE_ID' => 'tasks', 'NAME' => $name))->fetch(); if(!$agent['ID']) { \CAgent::AddAgent( $name, 'tasks', 'N', // dont care about how many times agent rises $interval ); } } public static function __callStatic($name, $arguments) { \Bitrix\Tasks\Util::log('Agent function does not exist: '.get_called_class().'::'.$name.'([args]);'); return ''; } }
/var/www/axolotl/data/www/samara.axolotls.ru/bitrix/modules/tasks/lib/util/agentmanager.php