Planned restart of an production enviroment

Hi, is it possible to transport a new version of my app to the productive enviroment and schedule the restart at midnight? I don’t want to kick my users out of the system but i also need my sleep. ;-) Currently I did not find an option on my portal to perform this. Thank you!  
1 answers

There's no option in Sprintr for this, but you could work it out with a scheduled event and the Deploy API. Use Stop and Start Environment endpoint to get your desired result.

Another option could be using a Powershell script to get things going. See an excellent example by Bart Poelmans This is actually for deploying the latest revision but the stop and start actions are in the sourcefile.