From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076339121512.tru64-unix-managers.marc@archive.invalid> From: Suresh.Manyam () kellogg ! com (Suresh Manyam) Date: Tue, 17 Sep 1996 18:24:47 +0000 To: tru64-unix-managers Subject: Error while running a Script thru CRON X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076339121512 Hello Managers, Operating System: DEC OSF 3.2d, Dec 7000 series (box) I have a specific query, as how to supress a ERROR message, while invoking a Shell command from a Script which does a FTP operation. This script is RUN thru 'CRON'. The following is the script. ---------------------------------------------- #!/usr/bin/ksh ftp -n </path-name/fun_err2 2>&1 open node-name user uid passwd account get file1 stats1 !print "After get" >>fun_err2 append xyz xyz1 !print "After append" >>fun_err2 close bye ------------------------------------------------ The shell command is invoked when the print command is issued, prefixed by a "!". Then when executing the print command following ERROR message is generated: ------------------------------------------------------------------ stty: tcgetattr: Not a typewriter Not a terminal stty: tcgetattr: Not a typewriter Not a terminal stty: tcgetattr: Not a typewriter stty: tcgetattr: Not a typewriter ------------------------------------------------------------------ If anyone has a clue to the above message, please let me know and I will summarise the answers and post. TIA, Suresh Manyam suresh.manyam@kellogg.com Ph (W) 616-961-9536