From: Suresh.Manyam () kellogg ! com (Suresh Manyam)
To: tru64-unix-managers
Subject: Error while running a Script thru CRON
Date: Tue, 17 Sep 1996 18:24:47 +0000 [thread overview]
Message-ID: <96076339121512.tru64-unix-managers.marc@archive.invalid> (raw)
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@kellogg.com Ph (W) 616-961-9536
reply other threads:[~1996-09-17 18:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox