Check computer connected to the network

Share and discuss your flows and ideas with other users.

Moderator: Martin

Post Reply
codeassault
Posts: 2
Joined: 10 May 2016 17:55

Check computer connected to the network

Post by codeassault » 23 Jan 2019 15:45

http://automagic4android.com/flow.php?i ... 62ff63ed2f

Hello!
I have done this to verify if a computer in the network where I work has been disconnected. The computer that I verify is from a colleague, therefore when this computer is disconnected, it means that my colleague turned off the computer and that it is time to leave work!
Description:
1.- It is activated 10 minutes before the possible departure time.
2.- Ping the computer with an argument of -c 1. (The ping to the host is stored in a global variable)
3.- Evaluate if the computer is still connected to the network.
4.- If it is still connected, wait 10 seconds to check again.
5.- If the computer is disconnected, create a notification with an action to stop the flow. (I added a sound to let me know about the event with a 5-second cycle)

My native language is Latin American Spanish, so I used Google Translate to describe this.
Attachments
photo_2019-01-23_12-26-36.jpg
photo_2019-01-23_12-26-36.jpg (119.51 KiB) Viewed 12647 times

Post Reply