This commit is contained in:
joseph le 2023-09-28 08:47:48 +07:00
parent c22695ca3b
commit 5ce387040c
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ const sendNotification = async () => {
exec("nc -zv 172.16.6.26 3333", (error, stdout, stderr) => {
if (error) {
exec("pm2 restart all", (error, stdout, stderr) => {
exec("/home/test.sh", (error, stdout, stderr) => {
if (error) {
console.log("RESTART: ", stdout);
let params = {