When I run my script from within the editor it executes only once and everything works but if i call it from a web page or an excel add-in or any other place for that matter it sometimes runs multiple times until it reaches the 5 minute limit Google imposes. Is there a way to stop a script after its first run or a way to check whether it is already running.
Thx for any help.