Comparing version 0.1.0 to 0.1.1
@@ -45,3 +45,6 @@ const async = require("async"); | ||
async.eachSeries(tasks, (task, next) => { | ||
// task paused | ||
if (task.paused === true) return next(); | ||
// tasks were cleared in the meantime | ||
if (!tasks.length) return next(); | ||
@@ -48,0 +51,0 @@ // Date.now() is called every time to compensate |
{ | ||
"name" : "chron", | ||
"version" : "0.1.0", | ||
"version" : "0.1.1", | ||
"description" : "Task scheduler", | ||
@@ -5,0 +5,0 @@ "keywords" : [ "cron", "time", "scheduler" ], |
5010
107