Skip to content

Scheduled notification sending

Scheduled notification sending

  • scan the notificaiton table for scheduled notifications and send them on due time
if sendAt is set and sentAt is null:
 if sendAt > Date.now():
    send to activeMQ
    sentAt = Date.now()
Edited by Emmanuel Ormancey