wait 10s before sending email to admin (fix #6)
This commit is contained in:
parent
ef7235c006
commit
1c21596315
@ -106,6 +106,8 @@ const nodemailer = require("nodemailer");
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (globalConfig.sendMail == true) {
|
if (globalConfig.sendMail == true) {
|
||||||
|
log.info(`暂停:10秒`);
|
||||||
|
await sleep(10000);
|
||||||
log.info(`运行完毕!丢出日志`);
|
log.info(`运行完毕!丢出日志`);
|
||||||
SendLog(
|
SendLog(
|
||||||
transporter,
|
transporter,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user