D
D
developerrr2015-09-24 18:27:33
JavaScript
developerrr, 2015-09-24 18:27:33

How can I make the script run once a day?

There is a nodejs script, it will run around the clock, it is necessary that a certain operation be performed once a day at a certain time. How to do it right? Wrap in setInterval?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Nikiforov, 2015-09-24
@developerrr

Try https://github.com/ncb000gt/node-cron

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question