I plan to use node-schedule to configure push notifications for meeting reminders as follows:
var schedule = require('node-schedule');
var date = req.body.date;
var j = schedule.scheduleJob(date, function(){
});
Now I know that you can cancel the event by calling cancel ():
j.cancel()
However, how can I refer to this specific cancellation task if the client-side user decides to change the appointment to a different date?
Thanks in advance for your help!
source
share