N
N
nvdfxx2021-06-08 16:21:33
Node.js
nvdfxx, 2021-06-08 16:21:33

How to correctly perform actions on the timer?

Unixtimes are recorded in the mongo, upon reaching which an action is performed on the server. How it is better to organize check of achievement of time, not to drag from base every second?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Arseniy Oguzov, 2021-06-09
@psy667

Perhaps this lib can solve your problem https://github.com/agenda/agenda

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question