A function that will fire when the job is stopped with job.stop(), and may also be called by onTick at the end of each run.
onTick
onTick(): any
The function to fire at the specified time. If an onComplete callback was provided, onTick will receive it as an argument. onTick may call onComplete when it has finished its work.
A function that will fire when the job is stopped with job.stop(), and may also be called by onTick at the end of each run.