T
T
Tenebrius2020-07-10 10:35:47
Node.js
Tenebrius, 2020-07-10 10:35:47

What is the best way to organize the periodic execution of a task?

It is required that the server collects and analyzes data from the database every 10 minutes, and sends a report.
Using setTimeout causes subconscious alertness.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Kuts, 2020-07-10
@fox_12

This can be done through crontab

D
Dima Polos, 2020-07-10
@dimovich85

Timers

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question