mirror of https://github.com/certd/certd
chore:
parent
ceb210b1b7
commit
5ade12d700
|
@ -24,6 +24,7 @@ export class CronTask {
|
||||||
this.job = req.job;
|
this.job = req.job;
|
||||||
this.name = req.name;
|
this.name = req.name;
|
||||||
this.logger = logger;
|
this.logger = logger;
|
||||||
|
this.logger.info(`[cron] CronTask created [${this.name}], cron:${this.cron}`);
|
||||||
this.genNextTime();
|
this.genNextTime();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue