amansrivastava/d9-dev

#07 ­- Cron Queuing

Closed this issue · 0 comments

Objective

At the end of this course, you will be able to

  • Understand and utilize the Queue API to add tasks to the queue and process them on cron runs

Exercise

  • Build a module that sends a welcome email to registered users
  • Use the Cron Queue by adding to the queue the user id whenever a user registers
  • Create a queue worker that picks these queue items (uids) during the cron and sends a welcome email (can be any simple text) to the registered email address.