Documentation

archiveOnAgent

string public static
\Bitrix\Sale\Archive\Manager::archiveOnAgent(
 integer $limit,
 integer $maxTime = null
);

Used by archiving agent. Manages agent execution.

Parameters

ParameterDescriptionVersion
$limitMaximum number of archived orders per once.
$maxTimeMaximum script archiving time.

Exceptions

  • \Bitrix\Main\ArgumentNullException

Example



© «Bitrix24», 2001-2024
Up