How to create Queue Workers
In my opinion queue workers are often overlooked and underutilized as a way of dealing with background tasks. In the bad ole days of Drupal, we were stuck with hook_cron and a single wget call to cron.php with a so-called “secure key.” This post is not a “history of cron in Drupal” post. Over time, modules were created to make cron more maintainable, and Drush commands made the wget call obsolete.