RE: Using onunload and onload from script/chron
Posted in 2000
Yes
...
No really, that's the answer...
...
okay, try:
yes | [whatever command you are using]
-----Original Message-----
From: Doug Fossmeyer [mailto:DougF@sd81.k12.wa.us]
Sent: Wednesday, May 03, 2000 2:35 PM
Posted To: informix
Conversation: Using onunload and onload from script/chron
Subject: Using onunload and onload from script/chron
A newbie question, I checked the archives but couldn't find anything to
help me.
v 7x on hp-ux 11x
I want to copy the productiondb to testdb on tape using chron. My
script calls onunload and onload, which interactively prompts for a tape
and carriage return.
I noticed from the doc some utilities have a -y option, bypassing
prompts. But onload doesn't appear to support this.
Is there a way to do this via a script bypassing the onload and unonload
prompt?
TIA
Doug
dougf@sd81.k12.wa.us