Scheduling an environment restart

0
Hello Is it possible to schedule the time of an environment restart? We'd like to update the production environment of one of our apps at a specific time in order to affect the least possible users. Thanks Patrick
asked
3 answers
0

Hi Patrick,

Currently, it is not possible to schedule a restart of an environment. You could however use the Deploy API (https://docs.mendix.com/apidocs-mxsdk/apidocs/deploy-api) and schedule an API-call using 3rd party software.

Kind regards,

Johan

answered
0

As far as I'm aware of, this is not possible at the moment.

Though a deploy API is available, which allows you to build something yourself :)

https://docs.mendix.com/apidocs-mxsdk/apidocs/deploy-api

answered
0

If you have an “Acceptance” environment, you could set a scheduled event that restarts Production.

This event would kick off a microflow that uses GetApplicationURL java action to check if the environment is “Acceptance.”

If it is, it can use Mendix API calls to check status of Production, Stop Production, Start Production, then check status again.

answered