Internal
Less than 1 minute
Internal
Internal recurring task backed by a cron schedule.
class Internal extends \Hazaar\Warlock\Agent\TaskExtends: Hazaar\Warlock\Agent\Task
Properties
when
Cron schedule used to compute next run times.
protected Cron $whenType: Hazaar\Util\Cron
Methods
schedule
Applies a cron schedule string and sets the initial start time.
public schedule(string $when): voidReturns: void
Parameters
| Parameter | Type | Description |
|---|---|---|
$when | string |
touch
Re-queues the task and returns the next start timestamp.
public touch(): ?intReturns: int
start
Executes the internal endpoint and updates task status.
public start(): voidReturns: void
Generated by Hazaar API Doc Generator on Fri, 04 Sep 2026 23:32:17 +0000