Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Kerry Sainsbury — — source: Informix-list mailing list archive (1991-1998)
In article <1995Mar3.211418.2703@pfizer.com>,
"Grant MacKinnon" <gmackinn@PFIZER.COM> wrote:
> Please tell me how I pipe the required response to the tbunload command when
> run by cron.
From the FAQ:
8.4 How can I run tbtape from a cron job?
echo '\\n0' | tbtape -s 1 | head -100
The head cuts things off when tbtape gets into the infinite
"insert a tape and press any key to continue" thing. I have found
that normal output is well less than 100 lines. This trick also
seems to kill off the loose tbtape process too - but I'm not sure
why. Of course, YMMV.
--------------------------------------,-------------------------------------
Kerry Sainsbury, kerry@kcbbs.gen.nz | THE INFORMIX FAQ
Quanta Systems, Auckland, New Zealand | kcbbs.gen.nz:/informix/*
| mathcs.emory.edu:/pub/informix/faq/*
+64 9 377-4473 (work) 266-6011 (home) | http://www.garpac.com/informix.html
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.