# History time to live

**URL:** <https://forum.camunda.io/t/history-time-to-live/53612>\
**Category:** Camunda 7 Topics\
**Created:** [July 11, 2024, 12:45pm UTC](https://forum.camunda.io/t/history-time-to-live/53612 "2024-07-11T12:45:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thearlaicheachaig](https://forum.camunda.io/letter_avatar_proxy/v4/letter/t/bb73d2/32.png) [@thearlaicheachaig](https://forum.camunda.io/u/thearlaicheachaig)\
**Post date:** [July 11, 2024, 12:45pm UTC](https://forum.camunda.io/t/history-time-to-live/53612/1 "2024-07-11T12:45:21Z")

</div>

Hi,

How can the history time to live be 42, but showing history of instances from January?

 ![screen](https://forum.camunda.io/uploads/default/original/3X/6/0/602340d9e63b71da8120d01adb9d2502c97f1f65.png)

---

<div class="post-metadata">

**Author:** ![hassang](https://forum.camunda.io/user_avatar/forum.camunda.io/hassang/32/16498_2.png) [@hassang](https://forum.camunda.io/u/hassang)\
**Post date:** [July 11, 2024, 2:53pm UTC](https://forum.camunda.io/t/history-time-to-live/53612/2 "2024-07-11T14:53:47Z")

</div>

Hi @thearlaicheachaig

> For automated history cleanup on a regular basis, a batch window must be configured - the period of time during the day when the cleanup is to run.

> By default, no cleanup window is configured. In that case, history cleanup is not performed automatically.

[https://docs.camunda.org/manual/7.21/user-guide/process-engine/history/history-cleanup/#cleanup-window](https://docs.camunda.org/manual/7.21/user-guide/process-engine/history/history-cleanup/#cleanup-window)

---

<div class="post-metadata">

**Author:** ![system](https://forum.camunda.io/uploads/default/original/3X/5/8/58d50142eacca605d35cb1ef9e6b86ae85f49436.png) [@system](https://forum.camunda.io/u/system)\
**Post date:** [October 9, 2024, 2:54pm UTC](https://forum.camunda.io/t/history-time-to-live/53612/3 "2024-10-09T14:54:18Z")

</div>

Closed on October 9, 2024, 2:54pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
