Hi to all.
I need automatize the clone process for an EBS node. Is based in the general scripting from oracle. (adpreclone.pl, adcfgclone.pl)
This scripts are interactive, need some data imput like:
- user, password, path's, etc.
Are there any way to send this like parameter when is solicited?
Do any people have experience with this kind of work?
by now, to automate this kind of interaction I investigate about 2 workarounds.
- study and modify the scripts to eliminate the prompt to wait for the answer, write the path directly and eliminate the variable.
- use de the "exec" utility for Linux to make the interaction.
You can either pipe the input to the program (if the program supports it) or use "expect" or something like it (if you are on a UNIX-style OS), or probably a multitude of other tools that can simulate keyboard input.
Retrieving data ...