Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- ip=62.92.249.93
- while true; do
- timeout -s 2 1h ping $ip -i 2 |
- ts '%Y-%m-%d %H:%M:%S |' |
- tee -a ping.log
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement