javascript - Get next recurrence of a Later schedule -


i using later.js in order create simple schedule. trying mongo database persistence.

meteor.startup(function () {   const current = schedule.findone({ name: 'send text reminders' });   const interval = current.interval || 1;    const recurrence = later.parse.recur().every(interval).minute();    later.setinterval(function sendreminders() {     schedule.update({       name: 'send text reminders'     }, {       $set: {         nextrunat: // next scheduled time.       }     });   }); }); 

i've been looking through docs haven't found area how next occurence of schedule.

is possible next scheduled run later.js?


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -