home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch      Fun with MS-DOS batch files      42,547 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 41,694 of 42,547   
   Herbert Kleebauer to Wolfgang Loefstedt   
   Re: monitor ping   
   19 Feb 19 18:03:00   
   
   From: klee@unibwm.de   
      
   On 19.02.2019 09:57, Wolfgang Loefstedt wrote:   
   > Hello out there,   
   > frequently my wifi drops for seconds. For troubleshooting I would like   
   > to run a batch, that pings a server and logs the lost pings with date   
   > and time.   
   > Any ideas? Thx for your help,   
      
   :loop   
   ping -n 1 www.google.com   
   if errorlevel 1 echo %date% %time% >> pinglog.txt   
   timeout /t 10   
   goto :loop   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca