Exceeded maximum execution time in Google Apps Script

Corry picture Corry · Oct 21, 2011 · Viewed 74.6k times · Source

My google app script is iterating through the user's google drive files and copying and sometimes moving files to other folders. The script is always stopped after 5 minutes with no error message in the log.

I am sorting tens or sometimes thousands files in one run.

Are there any settings or workarounds?

Answer