Our team is trying to retrieve data from the database and save it as a CVS file at a fixed timeslot (Let say every day1150pm) using Ignition. May I know anyone who tries to do this in Ignition through scripting? I look through the user manual and found out that the only gateway event script related to the timer is Timer Scripts but I not sure the timer scripts can be used to do this.
If you want a script to be executed at a specific time every day, the best option for me, is to use an expression tag which should be a boolean set to True depending on your conditions. Then create a Tag Change Gateway Event Script and when your boolean becomes True, your script will execute.
For example, I created an expression tag I named trigger_export. Here is the expression used :
Then i created a Tag Change Gateway Event Script :