Runner API
Security covered
Runner makes it easy to run background tasks in Drupal without blocking users. You can define small tasks and let Runner queue and execute them, with options to monitor their progress and run them as a specific user if necessary.
Runner makes it easy to run background work in Drupal 10/11 without blocking users.
Define small tasks, let Runner queue and run them (right away or in the background), and optionally watch their progress.
You can also run tasks as a specific user when needed.
Requires PHP 8.3+, Drupal 10.4/11, and the sm module.
Install with composer require drupal/runner and enable it; then create tasks and let Runner handle the rest.