Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Jul 2001 17:18:00 +0300
From:      Dmitry Baranov <dima@stv.ee>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Cron & program output
Message-ID:  <3B408298.1A27BAAF@stv.ee>

next in thread | raw e-mail | index | archive | help
Hi all !
FreeBSD 4.3 STABLE.
Now I have a simple script:
<www> /usr/home/user> cat test
#!/bin/sh
telnet 192.168.196.140 5010
exit 
<www> /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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B408298.1A27BAAF>