AnsweredAssumed Answered

H2 Server status with command line

Question asked by mohta on Nov 4, 2014
Latest reply on Nov 5, 2014 by jbarrez
Hello,

I'm launching activiti with an external H2 DB, and i'm writting a script that starts the server.
i want to start the server only if it's stopped , so i need to check the server status before launching… I can't find an option that gives me this information! i saw getStatus() / isRunning() functions, but i can't find an equivalent in command line!

Could you help please? thanks in advance!

Shell run on cygwin and unix

Outcomes