I currently have a function in google app script which is used to split a price list into different spreadsheets by manufacturer and then rearrange the data in each new spreadsheet. My code works fine apart from the fact that I'm hitting the maximum execution time limit. Would it be possible to split the data up into chunks and then with one click have app script perform separate executions of the same function on each chunk of data (so that the time limit isn't exceeded)? So it would be like this:
execute
myfunction(chunkA){}
stop execution
execute
myfunction(chunkB){}
stop execution
etc.
but without having to manually click run each time and change the input. I've tried a couple of methods so far, such as the property method shown here: link but this still runs everything under one single execution so I end up over the limit again. Any guidance you could give me on this would be much appreciated!