Hey guys,
I have a quick question. (though I am using AIX, I think this can go under Linux discussion in general.)
We have this Unix Script which implements some business logic. It's usually being run under some IBM AIX scheduler (called Maestro).
Now, I performed an adhoc run of this script, through ./scriptname, now the script is currently running. The problem is, I forgot that this script is still scheduled in Maestro, so, I am expecting that this script will again be executed as scheduled. If that happens, I'm gonna have a hard time since the script implements some business logic that I can easily get into trouble with.
The script is STILL running, expected to run for a couple of more hours. So, what I did is to have a backup of the script, replace it with a dummy file that does nothing. These are all under the following assumptions:
1. I can replace the script with anything since the original script is already running in memory and would not be interrupted whatsoever.
2. The Maestro scheduler would be reading the dummy script (which does nothing) instead of the original script (which I placed somewhere in the filesystem)
I would like to confirm if these are correct? Though I've already done this, I just need somebody's confirmation so I can stay calm.
Cheers!