test DB
This commit is contained in:
parent
cf247b8d47
commit
8e7fd3400e
|
|
@ -61,7 +61,15 @@ const sendNotification = async () => {
|
|||
if (log === "") {
|
||||
exec("pm2 restart all", (error, stdout, stderr) => {
|
||||
if (error) {
|
||||
return;
|
||||
// return;
|
||||
let params = {
|
||||
type: "stream",
|
||||
to: "Result test - auto.nswteam.net",
|
||||
topic: "AU-dev",
|
||||
content: error,
|
||||
};
|
||||
|
||||
client.messages.send(params);
|
||||
}
|
||||
// console.log("RESTART: ", stdout);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue