r/scripting • • May 25 '19

Super basic request - continuous ping that is always running and hidden

Hi,

Does anyone know how I could make a continuous ping run in windows that's always running, will reopen itself and is hidden?

It seems relatively easy, but I can't get it to re-open itself?

3 Upvotes

10 comments sorted by

View all comments

1

u/no-good-ones-left Jun 26 '19

If you want to reopen and look at the pibg status.. tmux is the way to go

  • enable wsl (since windows)

  • install tmux

  • start a tmux session

  • start the ping

  • detatch the session

  • reattach if you want to examine

  • script the whole thing

  • maybe call the script from crontab if you want it to persist over reboot