What\'s an efficient way to calculate the next run time of an event given the current time and a cron spec?
I\'m looking for something other than \"loop through every mi
Later.js is a javascript library that does just this. It is able to parse a Cron expression and then calculate future occurrences of the schedule. It's algorithm isn't very fancy, but it does the job. Might be worth a look.