Following are sample batch files and shell scripts that you can modify and use to run the automation program.
importBaby.bat
@echo off call pmauto.bat -server stsrv01 -port 8561 -user pmuser1 -password Pass99 -config "importBaby.xml" pauseexportBaby.bat
@echo off call pmauto.bat -server stsrv01 -port 8561 -user pmuser1 -password Pass99 -config "exportBaby.xml" pausecalculateBaby.bat
@echo off call pmauto.bat -server stsrv01 -port 8561 -user pmuser1 -password Pass99 -config "calculateBaby.xml" pause
importBaby.sh
#!/bin/sh
sh pmauto.sh -server d10000 -port 8561 -user pmuser1 -password Pass99 -config "importBaby.xml" pauseexportBaby.sh
#!/bin/sh
sh pmauto.sh -server d10000 -port 8561 -user pmuser1 -password Pass99 -config "exportBaby.xml" pausecalculateBaby.sh
#!/bin/sh
sh pmauto.sh -server d10000 -port 8561 -user pmuser1 -password Pass99 -config "calculateBaby.xml" pause