D
D
Dimash Kenzhegaliev2021-07-24 09:15:02
Node.js
Dimash Kenzhegaliev, 2021-07-24 09:15:02

How to run dynamic scripts at some time/day?

I have a task when creating some object in the database to schedule the deletion of this data object, the time can be different, I think to use node-Schedule but I don’t know how it specifically works, I need that even if the server shuts down or restarts, then the scheduled script is all equally worked

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Yarkov, 2021-07-24
@yarkov

cron

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question