Hi everyone,
New user here but a long-time app script code writer.
Recently, I've noticed a number of my scripts involving fetching JSON API XML sources were timing out at 30 minutes that were scheduled during the day at specific times.
The odd part is that when I manually run numerous of my app scripts, the same scripts are finished in under 5 minutes.
I had purposely put in Logger commands to review the logs and noticed the speed of simple loops to grab the JSON XML data had drastically slowed down where items were taking 30-45 seconds per loop on a scheduled app script. Yet, if I ran the same loop manually, it was being done in under a second.
These app scripts and google sheets are stored in shared drives (not sure if that would impact it).
Has anyone encountered this before or have any general advise?