Hello Mile ... it's what I'm looking for... very simpe but useful. Thank you for the hint.
Am Thu, Oct 05, 2006 at 08:41:10AM -0400 Mike Jeays schrieb: > On Thu, 2006-10-05 at 13:40 +0200, Martin Schweizer wrote: > > Hello > > > > I'm looking for port which checks if a website is online or not. My goal is > > regulary starts a script which do this for me. Any ideas? > > > > #/bin/sh > > wget http://target.url > if [ "$?" -eq 0 ] > then > echo "Site is up" > else > echo "Site is down" > fi > > Or is this too naive and simple? -- Regards Martin Schweizer <[EMAIL PROTECTED]> PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239;
pgp5vQRH4EEHy.pgp
Description: PGP signature
