J
J
John2019-06-04 21:45:06
JavaScript
John, 2019-06-04 21:45:06

How to implement background tasks for notifications that will take into account time zones?

Guys, tell me how to architecturally implement sending mail notifications through background tasks that will take into account user time zones? How to create tasks, per user or one task for all users?
Let's say I need to send a letter every week to all users at 9 am. Let's say I have 100 users. Do I need to do 100 tasks or one task? If one, then set the interval to an hour or what?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Shumov, 2019-06-04
@inoise

One task that generates a pool of notifications with a send timer and one for sending notifications exactly at the specified time

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question