# Transaction group execution timing

**URL:** <https://forum.inductiveautomation.com/t/transaction-group-execution-timing/94416>\
**Category:** Ignition\
**Created:** [August 9, 2024, 1:03pm UTC](https://forum.inductiveautomation.com/t/transaction-group-execution-timing/94416 "2024-08-09T13:03:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nathaniel\_Webb](https://avatars.discourse-cdn.com/v4/letter/n/e8c25b/32.png) [@Nathaniel\_Webb](https://forum.inductiveautomation.com/u/Nathaniel_Webb)\
**Post date:** [August 9, 2024, 1:03pm UTC](https://forum.inductiveautomation.com/t/transaction-group-execution-timing/94416/1 "2024-08-09T13:03:45Z")

</div>

Hello,  
I am sending 6 tags to my dB. It is important that they write to the dB at the first beginning of every minute. For example, it needs to be 05:36, not 05:36:24. How do i accomplish this?

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [August 9, 2024, 1:09pm UTC](https://forum.inductiveautomation.com/t/transaction-group-execution-timing/94416/2 "2024-08-09T13:09:29Z")

</div>

> [@Nathaniel\_Webb](#):
>
> It is important that they write to the dB at the first beginning of every minute.

Why?

You're going to be out by microseconds at best. If you write into a wide table the results of queries on the table will have one timestamp for all columns.

---

<div class="post-metadata">

**Author:** ![Nathaniel\_Webb](https://avatars.discourse-cdn.com/v4/letter/n/e8c25b/32.png) [@Nathaniel\_Webb](https://forum.inductiveautomation.com/u/Nathaniel_Webb)\
**Post date:** [August 9, 2024, 1:12pm UTC](https://forum.inductiveautomation.com/t/transaction-group-execution-timing/94416/3 "2024-08-09T13:12:34Z")

</div>

I am trying to mirror a preexisting dB. I am not worried about ms, but I would like to make it be at the beginning of every minute.

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [August 9, 2024, 1:14pm UTC](https://forum.inductiveautomation.com/t/transaction-group-execution-timing/94416/4 "2024-08-09T13:14:01Z")

</div>

Use a run always expression item (read only) with the following:

`getminute(now())`

use that item to trigger the group on value change.

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [August 9, 2024, 1:22pm UTC](https://forum.inductiveautomation.com/t/transaction-group-execution-timing/94416/5 "2024-08-09T13:22:09Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 9, 2024, 2:46pm UTC](https://forum.inductiveautomation.com/t/transaction-group-execution-timing/94416/6 "2024-08-09T14:46:10Z")

</div>

You **schedule** transaction groups instead using an **interval**. If you schedule per minute, it will execute close to the top of the minute. You can also use gateway **Scheduled** events instead of **Timer** events for similar functionality with scripts.

A "scheduled" transaction group would read like "Start at 00:00:00 and repeat every minute" or something like that. (Haven't used this in a while.)
