Using Appwrite Cloud (Pro), I have a Python function that executes on schedule every minute (*/1 * * * *).
I have noticed that it does not always execute every minute. I have had a scenario where it did not execute for 8 hours.
To give more context, the project is an auctions backed(in pre-production stage), so missing function runs is kinda big deal.
I have noticed that these problems mainly happen after midnight (Europe/Sofia). I would change the schedule to every 2 minutes (*/2 * * * *) and it will run a few times and sometimes stop again for unknown time.
I've couple more projects that also run on every minute schedule (*/1 * * * *). Every time different projects and different amount of projects are affected, so I see no pattern.
All of the functions are sub 1 second execution times and their timeout is set to 30+ seconds.
I will often times change them to run every minute to every two/three minutes and back again, so the schedules get triggered.
Please look into this as its causing significant financial losses.
Let me know if opting for an external scheduling solution will actually execute the functions or they will be in the "waiting" status.
Recommended threads
- Worker functions stuck on "Fetched 0 fun...
Appwrite Version: 1.9.0 Bug Description: The appwrite-worker-functions container gets stuck in an infinite loop logging "Fetched 0 functions..." while scheduled...
- I am using s3 for app storage but is it ...
_APP_STORAGE_DEVICE=s3 puts everything to the s3 storage but i need to be able to keep the function builds and site in the local and not waste the cloud storage...
- Local Serverless Function Testing: Are D...
I have followed the instructions to get the CLI working, and have been able to log-in, initialize my project, and created a simple Python function, which calls ...