jonnyknowsbest
Technical User
We are running SCO OpenServer and i need help writing a shell script to do the following:
1) at 23:50, the server should try pinging the network router.
2) if the ping is succesful, the script should retry the ping
3) if at any point the ping is unsuccessful, the script should create a file containing the text "Connectivity lost at " followed by the system time.
4) the script should loop until 1:15
1) at 23:50, the server should try pinging the network router.
2) if the ping is succesful, the script should retry the ping
3) if at any point the ping is unsuccessful, the script should create a file containing the text "Connectivity lost at " followed by the system time.
4) the script should loop until 1:15