Hello gurus,
I need to write a script to exchange the data between two
databases on separate servers:
This shell should :
(1)-SFTP data file from server A to server B
(2)-run the process to read data file and update database
on server B
(3)-run the extracting process on server B
(4)-SFTP the output from server B to server A
I don't know how to recognize when step (2) and (3) will
finish executing. I am also having trouble automating SFTP,
it is always prompring for a password.
Thank you for your help!
I need to write a script to exchange the data between two
databases on separate servers:
This shell should :
(1)-SFTP data file from server A to server B
(2)-run the process to read data file and update database
on server B
(3)-run the extracting process on server B
(4)-SFTP the output from server B to server A
I don't know how to recognize when step (2) and (3) will
finish executing. I am also having trouble automating SFTP,
it is always prompring for a password.
Thank you for your help!