Gateway Timer Script Trouble

I have a script that pings multiple ips on a timer, and updates the appropriate tags with info based on the results. I believe that this script is not running properly on the timer but it works in the script console? I am sure I am overlooking something simple

Could you post the script you’re running?

Forgot to comment out code from previous script, I believe it was ignition 7