Hi Manuel
Do you have any records of how you did it? I did a couple of scripts but couldn't get it right. It would be great if you can provide some details of how you did it or even better a sample of what you had. I have this curl one liner as a starter but not sure how to use it in a command script:
curl -IL --insecure -s -o /dev/null -w "%{http_code}" www.something.com