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
2
u/ShampGe Mar 05 '26
Oh! The distinction is good! The script ask to check 5 column for a specific change. When the change happen, it sends an email and does a pop up. I can't see this script taking more then 6 mins to run. So can I safely assume that this error came because someone made a change in one of the checked column and closed the sheet before the pop up or the email where sent?