Ask questionsonTick may call onComplete at the end of each run. How?
I have written the following code.
onTick callback cronOnTick
is called
however
onComplete callback cronOnComplete
is not at the end of an onTick run.
If an onComplete callback was provided, onTick will receive it as an argument.
export const job = new CronJob(
cronExpression,
cronOnTick,
cronOnComplete,
true,
'UTC'
);
job.start();
The documentation is not clear how to get onComplete to be called upon the completion of onTick, other than if the job is stopped.
No response
No response
Related questions
No questions were found.