Subject: | |
From: | |
Reply To: | |
Date: | Fri, 11 Aug 2000 13:54:37 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
I've done something like this in perl on a linux box... it's a cgi that logs
into my shiva remote access box does a few commands then slices and dices it
into a web page showing me who is currently dialed in.
If you don't mind writing some code you could borrow bits and pieces from
jtmail. You would need to change the port it talks on, but a lot of the
concepts would be the same.
-Lane
on 8/11/00 1:12 PM, Curtis Larsen at [log in to unmask] wrote:
> "Joe Telnet" stuff. Trying to connect to another system, dialogue a
> bit, and gracefully quit.
> I need to do it via batch as:
>
> 1) It needs to be done at certain human-unhealthy hours
> 2) The dialogue needs to be recorded ($stdlist), saved, then hopefully
> e-mailed to someone
> 3) It's the same commands each time, so it begs to be batched anyway
> 4) It's pretty important, and so needs to be done on the platform with
> the best up-time <grin>.
>
> One would think that batch telnet would be pretty common, based on the
> very common requirements above -- but wow -- it's difficult to do even
> in Linux -- you need to use "Expect" to pull it off. I've tried MPEX's
> RUN;INPUT --- which works for most everything -- but no dice. The
> HP3000 can easily do all the above -- just not run the telnet in batch.
> Has someone hacked around this?
>
> Thanks!
> Curtis
|
|
|