Skip to content

Scheduler

Actions of insight-indexer for rebuilding indices can be executed automatically.

The properties for the scheduling hast to be set in file x:\gis\Insight\wildfly\standalone\configuration\insight.properties.

The parameter-name consists of prefix indexer.schedule and the action (rebuildall, createindex) followed by an dot and number to distinguish the parameter names and to avoid duplicate parameter names. The numbers are abitrary and its not necessary that they are in consecutive order.

There are two formats for the value:

  1. Several columns separated with blanks: hh:mm, Day, DayInMonth, Month,Year or of

    Possible values for

Day "So","Mo,"Di","Mi","Do","Fr","Sa"
or
"Sun","Mon","Tue","Wed","Thu","Fri","Sat"
Month "Jan","Feb","März","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"
or
"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"
  1. Definition of a time-intervall: Starttime/Intervall/Unit
12/2h every 2 hours beginning from 12:00
* /1h every 1 hour
0/10m every 10 minutes starting from the next full hour
* /5m every 5 minutes
0/15s every 15 seconds starting from the next minute

Examples for rebuild all indices:

indexer.schedule.rebuildall.5=01:00 rebuild all indices every night at 1:00
indexer.schedule.rebuildall.1=23:00 So rebuild all indices every sunday evening at 23:00
indexer.schedule.rebuildall.7=22:00 * 1 rebuild all indices every month on the 1th day at 22:00
indexer.schedule.rebuildall.2=22:00 * 24 Dez rebuild all indices every year on december the 24th at 22:00
indexer.schedule.rebuildall.4=1:00 * 1 Jan 2017 rebuild all indices only on 01/01/2017 at 01:00

Examples for create index:

indexer.schedule.createindex.workorder.0=01:00 create index "workorder" every night at 1:00
indexer.schedule.createindex.locations.0=23:00 So create index "locations" every sunday at 23:00
indexer.schedule.createindex.person.0=*/4h create index "person" every 4 hours