removePGC.py batch script
You can use the removePGC.py Jython script to remove the common batch container from your deployment target.
Purpose
The removePGC.py script is provided with the product. The removePGC.py script removes the common batch container from your deployment target or removes it when your deployment target is the only target.
Location
At installation, removePGC.py is copied onto the installation target machines in the app_server_root/bin directory.
Usage
wsadmin -lang jython -f removePGC.py <option>
You might have to modify the wsadmin command to wsadmin.sh or wsadmin.bat, depending on your operating system environment.
To see a list of all available operations, use the following command:
wsadmin -lang jython -f removePGC.py --help
Operations
Use the following option with this command:
- --list
- Lists the targets that have the common batch container.
Example
Use following command to list the targets which have the common batch container:
wsadmin -lang jython -f removePGC.py --list
For example:
>> wsadmin -lang jython -f removePGC.py --list
INFO: Grid Execution Environment was found on following targets:
cell=myCell,cluster=Endpoint1
cell=myCell,cluster=Endpoint2
cell=myCell,node=myNode01,server=server1