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!
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!
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()
Thanks a lot for the informations, its works for me.
How do you get all the informations about this classes? there is any link to get this info ?
Try this link...
https://docs.intersystems.com/healthconnect20191/csp/docbook/Doc.View.cls?KEY=EGDV_adv#EGDV_adv_ens.director_prod_startstop
and look for Using Ens.Director to Start and Stop a Production
To start a production:
To stop a production: