Scheduled Executable
No security coverage
This module allows actions and other executable plugins to be scheduled for execution at a future time.
It uses a content entity type, scheduled_executable, to store the details of the plugin to execute.
Scheduled executables (SE) can be queried, inspected, and deleted prior to execution. Multiple scheduled items that are for the same execution time can be resolved at once, allowing priority logic to be applied.
Example:
// Create an instance of an executable plugin such as an action.
$action = $this->actionPluginManager->createInstance('my_action', ['config' => 'value']);
// Create a scheduled_executable.
$scheduled_executable = ScheduledExecutable::create()
->setExecutablePlugin('action', $action)
->setTargetEntity($my_entity)
->setExecutionTime(12345678);
$scheduled_executable->save();
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Release date | |
|---|---|---|---|---|
| 2.0.0-alpha1 | Pre-release | Mar 11, 2024 | ||
| 2.x-dev | Dev | Mar 11, 2024 |