I am trying to use setInterval function in onOpen trigger. When I run it I am getting " "setInterval" is not defined." error. Are there any restrictions to using setInterval in Google Application Script?
This is the code:
setInterval(function(){
Logger.log("test");
}, 100);
You can try to use Time triggers https://developers.google.com/apps-script/execution_time_triggers
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With