Skip to content

Instantly share code, notes, and snippets.

@paulschow
Created August 22, 2019 09:58
Show Gist options
  • Save paulschow/7e64b830f2e45c1a55a125ff86271de7 to your computer and use it in GitHub Desktop.
Save paulschow/7e64b830f2e45c1a55a125ff86271de7 to your computer and use it in GitHub Desktop.
#Main loop
if __name__ == '__main__':
counter = 0
#Loop for awhile
while counter < 14400:
verbose_ping("192.168.1.5",11) #W
verbose_ping("192.168.1.24",9) #T
verbose_ping("192.168.1.12",8) #L
verbose_ping("192.168.1.26",25) #P
counter = counter + 1
#wait 10 seconds
time.sleep(10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment