@@ -39,8 +39,8 @@ class Job {
|
||||
this._isRunning = false
|
||||
|
||||
if (this._isEnabled) {
|
||||
const now = Date.now()
|
||||
scheduledDate = +schedule._createDate()
|
||||
const now = schedule._createDate()
|
||||
scheduledDate = +next(schedule._schedule, now)
|
||||
const delay = scheduledDate - now
|
||||
this._timeout =
|
||||
delay < MAX_DELAY
|
||||
|
||||
@@ -20,5 +20,6 @@
|
||||
>
|
||||
> Rule of thumb: add packages on top.
|
||||
|
||||
- @xen-orchestra/cron v1.0.6
|
||||
- xo-server v5.52.0
|
||||
- xo-web v5.52.0
|
||||
|
||||
Reference in New Issue
Block a user