Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jan 1999 12:01:21 -0600 (CST)
From:      "Paul T. Root" <proot@horton.iaces.com>
To:        proktor47@usa.net
Cc:        questions@FreeBSD.ORG
Subject:   Re: [Q] telnet session as a cron job
Message-ID:  <199901291801.MAA04856@horton.iaces.com>
In-Reply-To: <19990129173512.3978.qmail@yellow.axe.ru> from "proktor47@usa.net" at "Jan 29, 99 05:35:12 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
You'll need to do it in either expect or
perl with a telnet module.


In a previous message, proktor47@usa.net said:
> Hello,
> 
> Is it possible to do such task as a cron job?
> 
> Right now I do it like this:
> 
> $ telnet somehost someport | tee tmpfile
> > command
> > .
> > .
> > output
> > .
> > .
> > quit
> $ diff -q somefile tmpfile
> 
> Thanks
> 
> --
> Victor
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


-- 
Being perfect is a terrible way to spend your life and guys are not
equipped for it anyway. It is like a bear riding a bicycle: He can be 
trained to do it for short periods but he would rather be in the woods
doing what bears do there.			- Garrison Keillor

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901291801.MAA04856>