# Values pulled at certain times of day

**URL:** <https://forum.inductiveautomation.com/t/values-pulled-at-certain-times-of-day/21213>\
**Category:** Ignition\
**Created:** [December 4, 2018, 4:17pm UTC](https://forum.inductiveautomation.com/t/values-pulled-at-certain-times-of-day/21213 "2018-12-04T16:17:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Schwartzds](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/schwartzds/32/6777_2.png) [@Schwartzds](https://forum.inductiveautomation.com/u/Schwartzds)\
**Post date:** [December 4, 2018, 4:17pm UTC](https://forum.inductiveautomation.com/t/values-pulled-at-certain-times-of-day/21213/1 "2018-12-04T16:17:25Z")

</div>

Need values recorded at certain times of the day. Once recorded I would like output to a table for recall. Any simple way to accomplish?

---

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [December 4, 2018, 4:23pm UTC](https://forum.inductiveautomation.com/t/values-pulled-at-certain-times-of-day/21213/2 "2018-12-04T16:23:30Z")

</div>

Do you already have a table that’s connected to a database? If the table is already connected, just turn on polling and it will automatically update every X seconds, and once that new value is recorded it will appear after the next database poll.

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [December 4, 2018, 4:27pm UTC](https://forum.inductiveautomation.com/t/values-pulled-at-certain-times-of-day/21213/3 "2018-12-04T16:27:00Z")

</div>

I’m not sure on your exact situation, more info usually means better help. Anyways, you can use a transaction group to record at certain times of the day by creating an expression item in the run-always expression items section. Set the expression up like this

```auto
if(dateFormat(now(0), "E") = "Mon" && dateFormat(now(0), "HH:mm") = "15:30", 1,0)

```

Then have the transaction group trigger on this expression item when it equals 1. The table would just have a database query binding to the table that the transaction group logs to. This expression triggers Monday at 3:30pm.
