Prevent function from running on webclient

Prevent function from running on webclient

Hi

I have a standalone zenon project, runtime & webserver running on same pc, on startup I have a script executing, how can I prevent this script from executing when webclient connects?
It should only execute when starting zenonruntime, not when webclient starts.

This is a migrated post! Originally posted on 22.07.2020 by user Tobiasto. Please be aware that information can be outdated.