In article <33575bb3.17235473@gate.idg.no>,
Nils.Myklebust@idg.no (Nils Myklebust) wrote:
>mortonj@interlog.com (John Morton) wrote:
>
>:Hi there. We're looking at automating our nightly archive via a shell
>:script (AIX) run via cron, but we can't figure out how to simulate the
>:enter key after the tape is mounted.
>:
>:I know this question's been asked before, but I can't find it in the
>:FAQs.
>
>This was in the FAQ until the new release of it. It even contained a
>warning about why some solutions that several users seem to have
>implemented can lead to severe problems.
>Here's the how we do it:
>
>echo ' n' /usr/info71on/bin/ontape -s -L 0 head -100
>
>As far as I remember the head -100 part was needed to avoide the
>problems that could otherwise occur.
Ummm, just to protect the good name of the FAQ for a moment, it certainly
looks to still be there to me. The only problem is that it refers to
"tbtape" rather than "ontape":
8.4 How can I run tbtape from a cron job?
I'll alter the subject line to reflect the change of name.
Cheers,
Kerry S
------------------------------------,------------------------------------------
Kerry Sainsbury, kerry@kcbbs.gen.nz | THE INFORMIX FAQ v2.8 March 1997
Quanta Systems, Auckland | http://www.iiug.org/techinfo/faq/
New Zealand. Work: +64 9 377-4473 | ftp://ftp.iiug.org/pub/informix/faq
Home: +64 9 279-3571 | ftp://kcbbs.gen.nz:/pub/informix/