Gateway Scheduled Event - Ignition Edge

I want to save the data in an Ignition Edge Gateway to an excel file every week. It is an Edge Panel with Compute Addon license.
I am looking for help to format this script. I can get it to work with a table component on a screen and a button, however I don't know where to point the gateway script at for the dataset?

Below is a picture of my script that works on a button on a screen.

This may not technically violate the Edge license (IANAL), but certainly violates the spirit of it. :frowning_face:

1 Like