Метод syncAgentSchedule

public

Сигнатура метода

public function syncAgentSchedule(): ?int

Возвращает: ?int

Описание

Ensure that the agent is scheduled to run at the optimal time based on the nearest scheduled trigger and a safety buffer. If the agent is already scheduled but with a later execution time or inactive it will be updated to run sooner and activated.

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Internal/Service/Trigger/Schedule/ScheduledTriggerAgentSyncService.php
Расположение метода в файле
Строки 36–76

Исходный код

PHP