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

Specifies the desired time between tasks of the given type running.

Key: schedule.[taskType].auto.desired-time-between-updates
Type: java.time.Duration
Can be set in: collection.cfg

Description

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.

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.