# Refreshing tag history binding

**URL:** <https://forum.inductiveautomation.com/t/refreshing-tag-history-binding/54140>\
**Category:** Ignition\
**Tags:** ignition81, scripting, perspective\
**Created:** [December 15, 2021, 10:08am UTC](https://forum.inductiveautomation.com/t/refreshing-tag-history-binding/54140 "2021-12-15T10:08:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Resistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/resistor/32/30634_2.png) [@Resistor](https://forum.inductiveautomation.com/u/Resistor)\
**Post date:** [December 15, 2021, 10:08am UTC](https://forum.inductiveautomation.com/t/refreshing-tag-history-binding/54140/1 "2021-12-15T10:08:43Z")

</div>

I want to display the downtime of one machine. I have a bool tag for machine running  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/8/981f5f8a94670b9e1973ab42e1770c636492c130.png)  
I have 2 label binds for seconds and mins that machine has been down for the shift.

Binding tag history with the aggregation mode duration off (timer for when my bool is false = machine not running)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/3/e3bb15e525f4413c752fb569e96bab9581989194.png)

But my values for downtime are not updating in the perspective page (only when I save again the designer)

Is there a way to refresh this, for example every 20 seconds, so that the times update by themselves?

---

<div class="post-metadata">

**Author:** ![jonathan.taylor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jonathan.taylor/32/4048_2.png) [@jonathan.taylor](https://forum.inductiveautomation.com/u/jonathan.taylor)\
**Post date:** [December 15, 2021, 10:20am UTC](https://forum.inductiveautomation.com/t/refreshing-tag-history-binding/54140/2 "2021-12-15T10:20:28Z")

</div>

Your End Date is using `now(0)` which will only poll once. To keep updating every 20 seconds, use `now(20000)`

[https://docs.inductiveautomation.com/display/DOC81/now](https://docs.inductiveautomation.com/display/DOC81/now)
