Scheduler

#15

Delayed and periodic execution

Part of Utility & Tools: Batch operations, proxies, multisig, and scheduling

Filter by:
Agenda storage v133 → v393

Items to be executed, indexed by the block number for execution.

Modified by: cancel, cancel_named +4
SystemAdmin
AgendaIncomplete event v301 → v393 #9

Emitted when not all scheduled tasks could be processed in a block.

SystemAdmin
CallUnavailable event v133 → v393 #5

Emitted when a scheduled call could not be found and the task is aborted.

SystemAdmin
cancel call v133 → v393 #1

Cancel an anonymously scheduled task by its block and index.

Emits: Canceled, RetryCancelled Modifies: Agenda
SystemAdmin
cancel_named call v133 → v393 #3

Cancel a scheduled task by its unique name identifier.

Emits: Canceled Modifies: Agenda, Lookup
SystemAdmin
cancel_retry call v151 → v393 #8

Remove the retry configuration from a scheduled task.

Emits: RetryCancelled Modifies: Retries
SystemAdmin
cancel_retry_named call v151 → v393 #9

Remove the retry configuration from a named scheduled task.

Emits: RetryCancelled Modifies: Retries, Lookup
SystemAdmin
Canceled event v133 → v393 #1

Emitted when a scheduled task is cancelled before execution.

Emitted by: cancel, cancel_named Modifies: Agenda, Lookup
SystemAdmin
Dispatched event v133 → v393 #2

Emitted when a scheduled task is executed.

SystemAdmin
FailedToSchedule error v133 → v393 #0

The runtime failed to schedule the requested call.

IncompleteSince storage v133 → v393

Block number from which the agenda became incomplete.

SystemAdmin
Lookup storage v133 → v393

Lookup from a name to the block number and index of the task.

Modified by: cancel_named, cancel_retry_named +3
SystemAdmin
MaximumWeight constant v133 → v393

Maximum weight for scheduled calls.

MaxScheduledPerBlock constant v133 → v393

Maximum scheduled calls per block.

Named error v133 → v393 #4

You used a non-named function on a named task, or vice versa.

NotFound error v133 → v393 #1

The scheduled call you're trying to cancel or modify doesn't exist.

PeriodicFailed event v133 → v393 #6

Emitted when a periodic task fails to reschedule because the agenda is full.

SystemAdmin
PermanentlyOverweight event v133 → v393 #8

Emitted when a task is permanently abandoned because it always exceeds weight limits.

SystemAdmin
RescheduleNoChange error v133 → v393 #3

The reschedule operation would not change the scheduled time.

Retries storage v151 → v393

Retry configurations for items, indexed by task address (block, index).

Modified by: cancel_retry, cancel_retry_named +2
SystemAdmin
RetryCancelled event v151 → v393 #4

Emitted when retry configuration is removed from a scheduled task.

Emitted by: cancel_retry, cancel_retry_named +1 Modifies: Agenda, Lookup +1
SystemAdmin
RetryFailed event v151 → v393 #7

Emitted when a task retry fails to reschedule due to agenda capacity or weight.

SystemAdmin
RetrySet event v151 → v393 #3

Emitted when retry configuration is set for a scheduled task.

Emitted by: set_retry, set_retry_named Modifies: Lookup, Retries
SystemAdmin
schedule call v133 → v393 #0

Anonymously schedule a call for future execution at a specific block.

Emits: Scheduled Modifies: Agenda
SystemAdmin
schedule_after call v133 → v393 #4

Anonymously schedule a task to execute after a delay from the current block.

Emits: Scheduled Modifies: Agenda
SystemAdmin
schedule_named call v133 → v393 #2

Schedule a named task for future execution with a unique identifier.

Emits: Scheduled Modifies: Agenda, Lookup
SystemAdmin
schedule_named_after call v133 → v393 #5

Schedule a named task to execute after a delay from the current block.

Emits: Scheduled Modifies: Agenda, Lookup
SystemAdmin
Scheduled event v133 → v393 #0

Emitted when a task is successfully scheduled for future execution.

Emitted by: schedule, schedule_named +2 Modifies: Agenda, Lookup
SystemAdmin
set_retry call v151 → v393 #6

Configure retry behavior for a scheduled task if it fails.

Emits: RetrySet Modifies: Retries
SystemAdmin
set_retry_named call v151 → v393 #7

Configure retry behavior for a named scheduled task.

Emits: RetrySet Modifies: Retries, Lookup
SystemAdmin
TargetBlockNumberInPast error v133 → v393 #2

You're trying to schedule a call for a block that has already passed.

Related Pallets