test DB
This commit is contained in:
parent
45a0bc6413
commit
ec436370f9
|
|
@ -42,7 +42,14 @@ const sendNotification = async () => {
|
|||
|
||||
exec("nc -zv 172.16.6.26 3333", (error, stdout, stderr) => {
|
||||
if (error) {
|
||||
// console.error(`Error executing command: ${error.message}`);
|
||||
let params = {
|
||||
type: "stream",
|
||||
to: "Result test - auto.nswteam.net",
|
||||
topic: "AU-dev",
|
||||
content: error+"123",
|
||||
};
|
||||
|
||||
client.messages.send(params);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue