Question
· Apr 13, 2020

Start production from Command line

Hi,

There is a way to start and stop production from command line ?

I know you can configure auto-start on the web interface but I need to start specific production on a shell script.

 

Thanks!

Discussion (4)2
Log in or sign up to continue

StopProduction()
 Stop the currently running production in an Ensemble namespace:
   Do ##class(Ens.Director).StopProduction()

StartProduction()
   Start the specified production in the Ensemble namespace, as long as no other production is running:
   Do ##class(Ens.Director).StartProduction("myProduction")

 RecoverProduction()
Clean up a Troubled instance of a running production so that you can run a new instance in the Ensemble namespace:
  Do ##class(Ens.Director).RecoverProduction()