Is there an easy way to check that a database server is available, and if not move on to the rest of a script? I have a dashboard script that pulls data from two separate tools with their own local databases. One of the tools is down for maintenance, thus shutting its computer down as well. When the script runs now, it looks for that server and when it does not find it, the script just stops without moving on to the next tool.
I am open for suggestions.