-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
There is a mistake in the code of adding CronJob in TaskService.
You used:
const job = new CronJob({
cronTime: cronExpression,
timeZone: 'America/New_York',
onTick: () => callback(this.syncDate),
});This syntax envolves error because you have to either use CronJob.from({}) or new CronJob('cronExpression', ()=> {},...).
Thanks you
Metadata
Metadata
Assignees
Labels
No labels