I
I
IDONTSUDO2019-08-23 14:01:27
Node.js
IDONTSUDO, 2019-08-23 14:01:27

Do Node Cron jobs crash when service is restarted/updated?

I want to use one of these two libraries. For cron jobs.
And the question is, do cron tasks in node js crash when the server is restarted? (for example, in case of clearing memory, or updating it).

spoiler
Just at the moment I'm designing a server. And this issue is very important to foresee.

Or how to make Node js communicate with CRON (operating system directly).
https://github.com/kelektiv/node-cron
https://github.com/node-cron/node-cron

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
de1m, 2019-08-23
@IDONTSUDO

You can use pm2, I would say it's better

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question