Delete Records at a certain time from a Transaction Group

Hi, I’m working on a project that has a transaction group recording data. I have been using the built in “Delete Records older than…” but I’m trying to figure out how to delete records at 4:00 PM every day regardless of if data was recorded at 3:59 PM, 6:00 AM or whenever. Is there a way to do this? Please let me know!

What version are you on?


There is a few ways to do this. I think a newer version of 8.1 ( >8.1.6) has cronjob type functionality. You can use another transaction group, use a boolean expression tag as a trigger to run your query. Another way is to use a gateway timer script that looks at the current time, then execute when “ready.” The full-version reporting module has it’s own cronjob setup and scripts can be run using scheduling regardless if it has an actual report of not.

To check for a current time, would I use

Values pulled at certain times of day - Ignition - Inductive Automation Forum