runner
Security covered
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.