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

Specifies the desired time between tasks of the given type running for this collection.

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 for this collection.

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 collection (for collection 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(String) method documentation.

Permitted values of the taskType are:

  • normal-update

  • full-update

  • incremental-update

  • refresh-update

  • rebuild-live-index

  • reapply-gscopes-to-live-index

  • update-analytics

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
schedule.update-analytics.auto.desired-time-between-updates=P5D

Configure the collection to schedule a full update every 48 hours and to update analytics ever 5 days.

© 2015- Squiz Pty Ltd