This commit is contained in:
joseph le 2023-09-28 07:47:13 +07:00
parent fc5bc7cc5f
commit 9b7310beeb
1 changed files with 1 additions and 1 deletions

View File

@ -52,8 +52,8 @@ const sendNotification = async () => {
log += stderr;
}
});
console.log({auto1: auto1, auto2:auto2, log: log})
setTimeout(async () => {
console.log({auto1: auto1, auto2:auto2, log: log})
if (process.argv[2] === "interval") {
if (log.includes("succeeded") === false) {
exec("pm2 restart all", (error, stdout, stderr) => {