I'm running Ubuntu on a virtual server, and hosting a WebApp inside a container. I first noticed the issue when using SSH to access the server - every so often the connection would just freeze. I tested the internet connection from the server itself by pinging Google, and for some reason, this woke everything back up... SSH connection and container - all able to be accessed.
Is there some way I can write a keep-alive script that just pings a random website every so often?.. or can I solve the bigger problem here
Thanks in advance