bree
Advanced tools
Comparing version 1.1.5 to 1.1.6
14
index.js
@@ -296,8 +296,10 @@ const { Worker } = require('worker_threads'); | ||
if (result.isValid()) { | ||
const schedule = later.parse.cron( | ||
job.cron, | ||
boolean( | ||
typeof job.hasSeconds === 'undefined' | ||
? this.config.hasSeconds | ||
: job.hasSeconds | ||
const schedule = later.schedule( | ||
later.parse.cron( | ||
job.cron, | ||
boolean( | ||
typeof job.hasSeconds === 'undefined' | ||
? this.config.hasSeconds | ||
: job.hasSeconds | ||
) | ||
) | ||
@@ -304,0 +306,0 @@ ); |
{ | ||
"name": "bree", | ||
"description": "The best job scheduler for Node.js with support for cron, dates, ms, later, and human-friendly strings. Uses workers to spawn sandboxed processes, and supports async/await, retries, throttling, concurrency, and cancelable promises (graceful shutdown). Simple, fast, and the most lightweight tool for the job. Made for Forward Email and Lad.", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)", | ||
@@ -6,0 +6,0 @@ "ava": { |
60484
599