addSchedule
Less than 1 minute
addSchedule
addSchedule
Adds an action to the schedule queue.
private addSchedule(array $data, string $description, ?string $tag, bool $overwrite): false|stringA tag identifies an action so that scheduling it again (eg: from run(), which is called repeatedly) doesn't queue a duplicate. If an action with the same tag is still scheduled it is left alone and false is returned, unless $overwrite is true in which case it is replaced. This matches how the agent handles tagged tasks.
Parameters
| Parameter | Type | Description |
|---|---|---|
$data | ||
$description | ||
$tag | ||
$overwrite |
Generated by Hazaar API Doc Generator on Thu, 22 Oct 2026 05:05:31 +0000