I used this article to develop a script to backup all my organizations feature layers as zipped FGDBs in AGOL notebooks.
It works well, however the runtime difference between manually running the script and scheduling it as a task is drastic. When running it manually it will finish in under 5 mins. When I have scheduled it as a task the first time it ran in 12 minutes, but the two subsequent times I have run it, it has failed due to reaching the 1-hour limit that I set. It is currently the only task I have scheduled and I'm scheduling it at midnight.
Is this this to be expected? Does anyone have any ideas why the runtime difference is so big?
Thanks in advance