Let say I have a KSH script my_script.ksh
that performs complex operations including but not limited to invoking SQLPLUS to manipulate large number (millions) of records in an Oracle database. The script accepts a few parameters that determine which sets of records it will process and suppose it takes hours to manipulate each set of records.
I am now having an instance of the script running on the Unix server using NOHUP and & command options, that is to say that it's currently running in the background and is detached from the telnet session that I used to invoke the script.
Suppose I've modified the script locally on my desktop PC in order to make the subsequent executions of the script faster and to add some audit mechanism, and I am about to upload the script onto the server.
Will my uploading the modified version of the script affect the process that is currently running the script? I don't want to kill the process and start all over again on the current record set and I'm afraid to try and error since I can't be sure how destructive it would be. Any advise from experienced admin/user?