You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changes to daily/weekly setting do not affect previous events
Changes to filter settings also do not affect previous events
In notification service, if an event is received and user has daily/weekly cycle enabled, store in a nats store with key weekly_<user-uuid>/daily_<user-uuid>.
Listen to a new event SendEmailsEvent that conatins a field with daily/weekly information. Do a prefix search on the nats store with prefix daily/weekly. Send email to all users (no special formatting just newline new event). Delete the documents in the nats store.
Add a small cli command that sends the SendEmailEvent. E.g. ocis notifications sendemail --daily
Setting up cronjobs for sending events is the responsibility of the system admin. This needs to be documented.
The text was updated successfully, but these errors were encountered:
Allow daily/weekly sending of emails.
Technical Approach:
In notification service, if an event is received and user has daily/weekly cycle enabled, store in a nats store with key
weekly_<user-uuid>
/daily_<user-uuid>
.Listen to a new event
SendEmailsEvent
that conatins a field with daily/weekly information. Do a prefix search on the nats store with prefixdaily
/weekly
. Send email to all users (no special formatting just newline new event). Delete the documents in the nats store.Add a small cli command that sends the
SendEmailEvent
. E.g.ocis notifications sendemail --daily
Setting up cronjobs for sending events is the responsibility of the system admin. This needs to be documented.
The text was updated successfully, but these errors were encountered: