later
later copied to clipboard
Schedule firing multiple times
var textSched = later.parse.text('every 1 min');
var timer = later.setInterval(logTime, textSched);
function logTime() {
console.log(new Date());
}
results in: Thu Feb 04 2016 13:31:59 GMT-0800 (PST) Thu Feb 04 2016 13:31:59 GMT-0800 (PST) Thu Feb 04 2016 13:32:00 GMT-0800 (PST) Thu Feb 04 2016 13:32:59 GMT-0800 (PST) Thu Feb 04 2016 13:33:00 GMT-0800 (PST)
Same issue as #81. It's jitter in the underlying interval call I think, it needs to ignore instances if they are less than the minimum schedule duration. Haven't had time to put together and test a fix.
Running into this as well, for a schedule that's "every 1 hours". Here's how it's been running today...
04/14/16 12:59:59
04/14/16 13:00:00
04/14/16 13:59:59
04/14/16 14:00:00
04/14/16 14:59:59
04/14/16 15:00:00