tasks.runAt

async runAt(name: string, instanceId: string, runAt: string | number | Date, payload: JsonObject) Promise<OneShotTaskResult>

Schedules one future run of a named task handler.

The handler must be declared at top level with weeble.tasks.define(name, handler). Scheduling the same name and instanceId again replaces its time and payload. Failed runs are attempted up to 5 times with exponential backoff. Delivery can repeat after infrastructure failures, so handlers must be idempotent. Runs for one schedule do not overlap; the next run is selected after completion.