Gateway script question

I’m trying to access tag values in a timed gateway script. I need to create a shift end file, about 150 lines of TSV info. I can execute this script fine via a pushbutton on a client(just as a test), but the gateway script(time driven) errors out trying to use the getTagValue function. What am I missing here?

Posting the error message you’re getting and the script you’re attempting to run would be helpful.

Here it is. As I said, runs fine on a client attached to a push button.

com.inductiveautomation.ignition.gateway.web.pages.config.systemconsole.LogViewer$SerializableLoggingEvent$ClonedThrowable: null
org.python.core.Py.NameError( Source)sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)java.lang.reflect.Method.invoke(Unknown Source)$$0(<TimerScript:MyTest (60000) [Rate, Shared]>:3)org.python.pycode._pyx5.call_function(<TimerScript:MyTest (60000) [Rate, Shared]>) Source) Source)

BTW, it shows to be set at 60s, I did that while testing.

ok, and now the script you’re trying to run…