S
S
SurelL2018-05-30 17:58:33
cmd/bat
SurelL, 2018-05-30 17:58:33

How to correctly write a cmd command?

Good evening everyone!
On WS 2008, there is an Apache Tomcat folder with which stubs are launched (that is, startup.bat or shutdown.bat is simply executed)
You need to write a bat script that will check if tomcat is running and if so, then first stop, and then start, and if not, then just start The
question is how to correctly track if the tomcat processes are running?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Permyakov, 2018-05-31
@Permyakov

powershell - GetProcess

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question