You can schedule the optimal time for the automatic update. You can select a time
when system usage is typically low. The default is 1:00 AM local time.
-
Edit the gitlab_connector XML file in the TomEE directory.
WEB-INF\3DSCM\gitlab_connector.xml
-
In the configuration section for the GitHub or GitLab connector being updated, add
this tag after the
cloneUpdateDisabled tag:
<cleanupRuntime>HH:MM</cleanupRuntime>
Where HH:MM is the time in 24-hour format, for
example, the default time is 01:00. To set the time to 11:30PM, enter
23:30.
-
Save the file and restart the TomEE server.
Result: The changes take effect after the server has been
restarted.