schedule.[taskType].auto.desired-time-between-updates

Background

This setting declares the desired elapsed time between tasks of the given type running.

In practice, new tasks of the chosen type will be added to the task queue after the declared duration has elapsed since the last successful update of the data source (for data source update tasks) or since the last successful analytics update. Note, that additional tasks are not queued while the same task is already running and some back off logic may be applied to prevent rapidly retrying tasks which repeatedly fail.

Values are in the ISO-8601 duration format PnDTnHnMn.nS with days considered to be exactly 24 hours. Further details on the format accepted and examples are available in Java’s Duration.parse(CharSequence) method documentation.

See: update task scheduler - supported task types for permitted values of the taskType.

Setting the key

Set this configuration key in the search package or data source configuration.

Use the configuration key editor to add or edit the schedule.[taskType].auto.desired-time-between-updates key, and set the value. This can be set to any valid java.time.Duration value.

Default value

No values is set by default, meaning no updates will be automatically scheduled.

Examples

schedule.full-update.auto.desired-time-between-updates=PT48H

Configure the data source to schedule a full update every 48 hours.

schedule.update-analytics.auto.desired-time-between-updates=P5D

Configure the search package to schedule an analytics update every 5 days.