This commit is contained in:
joseph le 2023-09-28 08:12:53 +07:00
parent 18e8545acd
commit a93bb0a26c
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ const sendNotification = async () => {
client.messages.send(params);
if (process.argv[2] === "interval") {
if (log.includes("succeeded") === false || log === "") {
if (log === "") {
exec("pm2 restart all", (error, stdout, stderr) => {
if (error) {
return;