In websphere,by clicking application, and then click on application ( war or ear) file,then go to target modules,there are 2 options, one is enable startup and disable startup.
Enable star up:- if it is enabled,then when JVM will start by the time ear also up
Disable startup:- if it is enabled,then when JVM will start by the time ear will not start,we need to do it manually.
For both the cases,we need to restart JVM post update.
Now requirements is that,we need create a script either Python or shell script to update the startups by selecting option when required ,not from console.
Step1:- option to select JVM
Step2:- option to see status of JVM is up and running or not
Step3:- option to select enable autostart , disable autostart up, status,...Here to select one and check the status.
Step4:- final verification post doing auto startup enabled or disabled