Complete.Org: Mailing Lists: Archives: discussion: November 1998:
[aclug-L] shell script
Home

[aclug-L] shell script

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "aclug-L@xxxxxxxxxxxx" <aclug-L@xxxxxxxxxxxx>
Subject: [aclug-L] shell script
From: Jesse Kaufman <kaufmjes@xxxxxxxxxxxxxxx>
Date: Thu, 19 Nov 1998 21:04:51 -0600
Reply-to: aclug-L@xxxxxxxxxxxx

is there some sort of shell script that can do the following for me?

1.) run ping <arbitrary webpage> (i usually just do yahoo)
2.) if it connects no problems, just exit, doing nothing...
3.) if it is down send an e-mail to a predefined list of people (my
netadmins)
    with the subject line "quadnet's down AGAIN..."

the LAN i am on is up and down all the time, and unfortunately all
network administers for it are not accessing inet via this LAN, so they
only know it's down when they manually check (this server is, of course,
windoze).

along with that question brings another question:  is there a way to
configure sendmail to not use <username>@<localhost name>, and instead
something like kaufmjes@xxxxxxxxxxxxxxx, or the like?

jesse

--
+============================+============================+
! Tabor College              !          ICQ UIN1: 4022791 !
! 400 S. Jefferson           !         ICQ UIN2: 13115282 !
! Hillsboro, KS 67063        ! kaufmjes@xxxxxxxxxxxxxxxxx !
+============================+============================+



---
This is the Air Capitol Linux Users Group discussion list.  If you
want to unsubscribe, send the word "unsubscribe" to
aclug-L-request@xxxxxxxxxxxx.  If you want to post to the list, send your
message to aclug-L@xxxxxxxxxxxx.



[Prev in Thread] Current Thread [Next in Thread]