I have a script that runs something like this logic.
select a list of websites and corresponding text
for each website we open the page with curl and check the string to make sure the text is there
if the text is there go on
otherwise send an email through gmail's smtp servers saying the site is down
It is working fine but I'm wondering if our server goes down, then all of our 125 sites will go down. This script is hosted somewhere else so it will run. If all of our sites go down, will that script crash because it has to send an email for each site? Is there a better way logically that someone can think of to go about this? Thanks,