Windchill All-IN-ONE Startup & Windchill All-IN-ONE Shutdown - Batch Script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Windchill All-IN-ONE Startup & Windchill All-IN-ONE Shutdown - Batch Script
1. Windchill All-IN-ONE Startup
rem Start Windchill Directory Server
😧
call D:\ptc\Windchill_10.2\WindchillDS\server\bat\start-ds.bat
rem Start Apache HTTP Server
cd D:\ptc\Windchill_10.2\HTTPServer\bin
start httpd.exe
rem Start Windchill
cd D:\ptc\Windchill_10.2\Windchill\bin
windchill.exe -w "D:\ptc\Windchill_10.2\Windchill" --java ="D:\ptc\Windchill_10.2\Java\jre\bin\java.exe" start
rem Exit
2. Windchill All-IN-ONE Shutdown
rem Stop Windchill
😧
cd D:\ptc\Windchill_10.2\Windchill\bin
windchill.exe -w "D:\ptc\Windchill_10.2\Windchill" --java ="D:\ptc\Windchill_10.2\Java\jre\bin\java.exe" stop
rem Stop Windchill Directory Server
call D:\ptc\Windchill_10.2\WindchillDS\server\bat\stop-ds.bat
rem Stop Apache HTTP Server
taskkill /F /IM httpd.exe
rem exit
- Labels:
-
Other
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Real life, tried and true examples are always tops in my book. Thank you for sharing!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Cool stuff!
I would add two things
- in the start up a slight delay after firing start for Windchill DS, say a ping to local host for about 15 seconds.
- In the stop, at the end right after taskkill for Apache, do a taskkill /F /IM java.exe or the custom java process. This will clear any zombie java process
