r/GoogleAppsScript • u/ShampGe • Mar 05 '26
Question What does maximum execution time means
Hello all! I'm new to using Apps Script (and I love it!). Got an error saying it Exceeded maximum execution time. Reading a bit around, I understand that the Apps Script can't run more then 6 mins? Is this correct? Meaning that if the sheet is opened for more then 6 mins, it just stops? Am I correct in assuming that if I close and reopen the sheet it restarts the timer? Does it count for one open sheet at the time or it adds up with every one having the sheet opened?
The script I have sends an email to someone according to parameters every time a certain trigger is triggered. We are a half-size people using the sheet, often letting open for hours at the time, needing it for other things then the email sending. Is there a work around?
Thanks! :D
View all comments
Show parent comment
1
u/WicketTheQuerent Mar 05 '26
The execution limit is exceeded when an alert or prompt stays open beyond the time limit. If this happens frequently, you might want to change the alert / prompt with a custom dialog or with a toast.