Error while running a Script thru CRON

From: Suresh Manyam <Suresh.Manyam_at_kellogg.com>
Date: Tue, 17 Sep 1996 14:24:47 -0400

     
     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 <<End 1>/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_at_kellogg.com Ph (W) 616-961-9536
Received on Tue Sep 17 1996 - 20:59:22 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:47 NZDT