Hello,
I need your help. I’d like to ask if you can help me to create this script or at least tell me if it is possible.
Here is exactly what I need.
We need to call (command ping?) one internet URL.. If it is alive I need to return 1 (possitive result) and when it is offline i need to generate empty result… Then i need to wget this result to file and test it.. If there is positive i need to change routing to server 1 and if empty result i need to do the same to server 2…
btw.. that internet URL isn’t server 1 or server 2…
I hope you understand me and can help me solve this problem
btw.. I hope i explain it right so if you got any questions just ask me i will make it clear
Thank you so much !