work #1

Merged
paradizelost merged 8 commits from work into main 2024-11-26 12:59:22 -06:00
Showing only changes of commit 619a56ebc1 - Show all commits

View File

@ -24,6 +24,7 @@ while(True):
for ip in pingaddresses: for ip in pingaddresses:
print(ip) print(ip)
response = sp.getstatusoutput(f"/usr/bin/ping -c 1 {ip}") response = sp.getstatusoutput(f"/usr/bin/ping -c 1 {ip}")
print(response)
if(response[0]!=0): if(response[0]!=0):
time=2000 time=2000
else: else: