Fix onTick handler
This commit is contained in:
@@ -69,7 +69,7 @@ function startPreActivationJobs(callback) {
|
||||
|
||||
gJobs.caasHeartbeat = new CronJob({
|
||||
cronTime: `${seconds} */1 * * * *`, // every minute
|
||||
onTick: caas.sendHeartbeat(NOOP_CALLBACK),
|
||||
onTick: () => caas.sendHeartbeat(NOOP_CALLBACK),
|
||||
start: true
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user