Hi Donal,
you can do it by using error? and try
either error? try [
read http://www.theskillstore.com
][
send [EMAIL PROTECTED] "http://www.theskillstore.com is down"
][
send [EMAIL PROTECTED] "http://www.theskillstore.com is up"
]
Brgds /Micael
-----Ursprungligt meddelande-----
Fran: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Skickat: den 12 november 1999 13:27
Till: [EMAIL PROTECTED]
Amne: [REBOL] none
Hi all,
maybe a silly question, but I've written a small
script to try and detect if my webpage is up and
running every hour.
page: read http://www.theskillstore.com
either page[send [EMAIL PROTECTED] "http://www.theskillstore.com is up"]
[send [EMAIL PROTECTED] "http://www.theskillstore.com is down"]
I'm running it on NT and if it fails to read the page
the script exits with
** Access Error: Cannot connect to http://www.theskillstore.com
is there a way around this ???
also is there a way to set secure to none, and not get the
dialogue box asking to lower permissions ??
Anyway good luck with REBOL it's a great tool.
Donal
"it's all fun and games until someone uses an ie browser"
Donal Greene,
Webmaster,
Educational Multimedia Corporation (Ireland)
EMG House
Deansgrange
Co. Dublin
Tel: +353 1 289 9000 extension 302
Fax: +353 1 289 9150