how to check if website available or not?

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
bbgaw
Newbie
Posts: 13
Joined: Thu May 08, 2008 7:54 pm

how to check if website available or not?

Post by bbgaw » Fri Jul 25, 2008 5:05 pm

Hi,

I am working on a script to go to a website, search for certain keywords and then print the results. But sometimes, the web server is down and then my script will hang there forever. I wonder if there are some ways so that I can add some checking, if the server is down and I can continue to the next server without hanging there forever. The command I used is just like the following scripts. Thanks in advance!

IE_Create>0,IE[0]

IE_Navigate>%IE[0]%,http://chemfinder.cambridgesoft.com/,r
IE_Wait>%IE[0]%,r
Wait>delay

MGuyM
Junior Coder
Posts: 36
Joined: Tue Jul 24, 2007 12:59 am

Post by MGuyM » Fri Jul 25, 2008 5:39 pm

I had a similiar problem and it was addressed in the following post:

http://www.mjtnet.com/usergroup/viewtopic.php?t=4837

Hope it helps :)

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts