I’m a spring-boot newbie, so please go easy on me.
I need to offer a way for an administrator to start and stop my spring-boot microservice from a job scheduler. If I can create start.bat
and stop.bat
files for the service, then the scheduler could call them.
How do I stop a spring-boot microservice from command line without killing the process? I'd like a graceful exit, if possible.
The host will be a Windows server.