Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jan 1999 20:17:15 +0200
From:      Ruslan Shevchenko <Ruslan@Shevchenko.Kiev.UA>
To:        proktor47@usa.net
Cc:        questions@FreeBSD.ORG
Subject:   Re: [Q] telnet session as a cron job
Message-ID:  <36B1FB2A.462D1D32@Shevchenko.Kiev.UA>
References:  <19990129173512.3978.qmail@yellow.axe.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
proktor47@usa.net wrote:

> Hello,
>
> Is it possible to do such task as a cron job?
>

Yes, using expect  (in /usr/ports/lang, I quess)

>
> 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


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?36B1FB2A.462D1D32>