There are some tasks scheduled to run at dawn. You may want to change the scheduling to launch the task at a different time so you don't need to wait.
All supported DX NetOps Spectrum releases
Edit the $SPECROOT/tomcat/webapps/spectrum/WEB-INF/repmgr/config/container/scheduling.xml file.
Change the clockStartTime parameter to your desired start time.
Change the daysToDelay parameter to 0 to start today.
<bean id="eventArchiverTask" parent="abstractArchiverTask">
<property name="name" value = "eventArchiver" />
<property name="jobDetail" ref="eventArchiverJob" />
<property name="clockStartTime" value="12:00:00 AM" />
</bean>
<bean id="abstractArchiverTask"
class="com.aprisma.spectrum.app.repmgr.dc.scheduling.CalendarScheduledTaskThread"
abstract="true">
<property name="daysToDelay" value="1" /> <!--Start tomorrow-->
<property name="period" value="86400000" /> <!--Recurring period(ms)-->
<property name="advancePreviousClockStart" value="true" />
</bean>
Save the file.
Stop/start the Spectrum Tomcat service.
By enabling the "SRM - Tools - Archiver" module in debug mode, you will see the prune operation in the Tomcat log file.
Edit the $SPECROOT/tomcat/webapps/spectrum/WEB-INF/web.xml file.
Change the following line from @off to @on:
SRMArchiverLog@SRMArchiverLog@com.aprisma.spectrum.app.repmgr.common.ReportManager.srmToolsArchiver@on;
Save the file.
Stop/Start the Tomcat service.
You should get the following entries in the Tomcat log file (stdout.log/catalina.out):
Apr 19, 2018 16:10:00.006 (SRM/Quartz-TimerFactory_Worker-2) (SRMArchiverLog) - (INFO) - SRM Event threshold data archiver task started
Apr 19, 2018 16:10:00.006 (SRM/Quartz-TimerFactory_Worker-2) (SRMArchiverLog) - (DEBUG) - Retention period threshold for <<event>> table is 2018-03-22 00:00:00.0
Apr 19, 2018 16:10:08.725 (SRM/Quartz-TimerFactory_Worker-2) (SRMArchiverLog) - (DEBUG) - Pruned (23646) event source records.