luishenriique

Reboot TS-9000 if no connection

Feb 12th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.16 KB | None | 0 0
  1. @echo off
  2. :START_TEST
  3. @php ping.php>temp.txt
  4. SET /p var_ping=<temp.txt
  5. DEL temp.txt
  6. IF %var_ping% == 0 (
  7.     timeout 10
  8. ) ELSE (
  9.     timeout 120
  10. )
  11. GOTO START_TEST
Advertisement
Add Comment
Please, Sign In to add comment