Automic Workload Automation

  • 1.  Execute an interactive script

    Posted May 10, 2018 12:26 PM

    Hi to all.

     

    I need automatize the clone process for an EBS node. Is based in the general scripting from oracle. (adpreclone.pladcfgclone.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?

     

    Regards,



  • 2.  Re: Execute an interactive script

    Posted Jun 15, 2018 06:34 PM

    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.

     

    regards,



  • 3.  Re: Execute an interactive script

    Posted Sep 03, 2018 06:35 AM

    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.