Time DataGateway maintenance

Prev Next

You can set a time frame for the DataGateway maintenance. That is, cleaning up the database.

To do so, perform the following steps:

  1. Open the master.config file on the server with a text editor like Notepad++.

  2. Under DataGateway, add the following lines:

    • <add key="Maintenance.WindowFromHour" value="1"/>

    • <add key="Maintenance.WindowToHour" value="3"/>

  3. To set the maintenance period, change the value in each row to the desired hour in 24-hour format.
    For example, set Maintenance.WindowFromHour to 1 and Maintenance.WindowToHour to 3 to set the maintenance window from 1:00 AM to 3:00 AM.

  4. Save your changes and close the file.

<appSettings type="DataGateway">
	<add key="Maintenance.WindowFromHour" value="1" />
	<add key="Maintenance.WindowToHour" value="3" />
</appSettings>