Hello @Boop444,
welcome to this moderated Azure community forum.
Azure functions run for a maximum of 5 minutes by default or for 10 minutes if you manipulate the settings, depending on the kind of app plan.
This is to protect users from the costs because the price of functions is based on the duration (amongst others) for a consumption plan.
The F1 app plan offloads the function from memory after not being called for 20 minutes. The same goes for other plans without the 'always on' setting. If you call it once per day, you will have to wait until the function app is started again, before execution.
I recommend pumping up the 'functionTimeout' setting to 45 minutes, just to be sure and just testing your application on the F1 and watching the logging to see what happens.
This answer is written by myself, not by some AI. If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.