* Error while running a Script thru CRON
@ 1996-09-17 18:24 Suresh.Manyam
0 siblings, 0 replies; only message in thread
From: Suresh.Manyam @ 1996-09-17 18:24 UTC (permalink / raw)
To: tru64-unix-managers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-09-17 18:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-09-17 18:24 Error while running a Script thru CRON Suresh.Manyam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox