What middleware can do timing service in node.js?

A model with a schedule, including:

a.: 
b.:

demand:
if the start and end time of this schedule in the database is Aug. 23, 2018, then the database will automatically change the status of this data to expire at that time.
I just wrote node. I don"t know how to do it. Please let me know that the database is mysql.

add: if the start and end time is accurate to minutes, do I have to retrieve the unfinished state of modification from the database every minute?

Apr.23,2021

node-schedule to see if it can meet the demand. If middleware is used, it can be packaged by itself.


cron learn about it. As for business requirements, package yourself

.
Menu