From owner-freebsd-questions Mon Jul 2 8:18:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from www.stv.ee (www.stv.ee [212.7.5.251]) by hub.freebsd.org (Postfix) with ESMTP id 8D9D837B401 for ; Mon, 2 Jul 2001 08:18:46 -0700 (PDT) (envelope-from dima@stv.ee) Received: from stv.ee (tasko.local.stv.ee [192.168.196.137]) by www.stv.ee (8.11.4/8.11.4) with ESMTP id f62FIfW25105 for ; Mon, 2 Jul 2001 17:18:41 +0200 (EET) (envelope-from dima@stv.ee) Message-ID: <3B408298.1A27BAAF@stv.ee> Date: Mon, 02 Jul 2001 17:18:00 +0300 From: Dmitry Baranov X-Mailer: Mozilla 4.77 [en] (Win95; U) X-Accept-Language: en,pdf MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Cron & program output Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all ! FreeBSD 4.3 STABLE. Now I have a simple script: /usr/home/user> cat test #!/bin/sh telnet 192.168.196.140 5010 exit /usr/home/user>./test Trying 192.168.196.140... Connected to Escape character is '^]'. 55 0 46 77 11 43 96 3 AA .... connection closed Seems to be ok ! Now inserting to crontab: */1 * * * * user /usr/home/user/test | mail to me But I get Trying 192.168.196.140... Connected to Escape character is '^]'. And nothing more ! Where is telnet's output? Please e-mail me offlist. -- WBR ------------------------------------------------------------- Dmitry Baranov Phone: +(372) 6 056 502 STV Internet Fax: +(372) 6 056 424 Koorti 18 Mobile: +(372) 5 012 825 Tallinn, Estonia ------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message