Ways to run system.util.execute() function

Hi All
I’m trying to run this system.util.execute() function to run my python script through a command prompt. When I bind this to an ‘Actionperformed’ event script this works fine but if I include this function in a project script then it doesn’t work. I read in the forums that if this function is executed as a tag event/change script it looks for the python file on the computer where the gateway is located. In my case, I’m developing from the client computer and can’t access the computer which has the gateway. What are my options to execute that function in a script in a periodical manner? TIA