29     public const ID = 
'ecs_task_handler';
    40         $this->
logger = $DIC->logger()->wsrv();
    41         $this->
lng = $DIC->language();
    42         $this->
lng->loadLanguageModule(
'ecs');
    44         $this->result = new \ilCronJobResult();
    49         return $this->
lng->txt(
'ecs_cron_task_scheduler');
    54         return $this->
lng->txt(
'ecs_cron_task_scheduler_info');
    74         return CronJobScheduleType::SCHEDULE_TYPE_IN_HOURS;
    79         return self::DEFAULT_SCHEDULE_VALUE;
    84         $this->
logger->debug(
'Starting ecs task scheduler...');
    90                 $this->
logger->info(
'Starting task execution for ecs server: ' . 
$server->getTitle());
    92                 $scheduler->startTaskExecution();
    95                 $this->result->setMessage(
    96                     mb_substr(sprintf(
'Exc.: %s / %s', $e->getMessage(), $e->getTraceAsString()), 0, 400)
    98                 $this->
logger->error(
'ECS task execution failed with message: ' . $e->getMessage());
    99                 $this->
logger->error($e->getTraceAsString());
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
static getInstance()
Get singleton instance. 
 
getDefaultScheduleValue()
 
const DEFAULT_SCHEDULE_VALUE
 
Class ilCronEcsTaskScheduler. 
 
static _getInstanceByServerId($a_server_id)
get singleton instance Private access use ilECSTaskScheduler::start() or ilECSTaskScheduler::startTas...
 
final const STATUS_CRASHED