This commit is contained in:
joseph le 2023-09-28 08:19:25 +07:00
parent 8e7fd3400e
commit dd19b2f32a
1 changed files with 8 additions and 0 deletions

View File

@ -59,6 +59,14 @@ const sendNotification = async () => {
if (process.argv[2] === "interval") {
if (log === "") {
let params = {
type: "stream",
to: "Result test - auto.nswteam.net",
topic: "AU-dev",
content: "log = null",
};
client.messages.send(params);
exec("pm2 restart all", (error, stdout, stderr) => {
if (error) {
// return;