Hello everyone!
I'm using Appwrite Cloud and I have a function that runs every day at 00:00 UTC. Preciously it worked fine, but it didn't fire last night and it's stuck as "Scheduled" as status.
Anyone else noticed the same?
It still didn't run today. βΉοΈ
Steps to reproduce:
Schedule a function using chron: 0 0 * * *, which was taken from the example documentation (https://appwrite.io/docs/products/functions/execution#schedule).
It should run at midnight, but it simply doesn't run.
Created an issue on GitHub for this bug:
Current status. This function should run at 00:00 UTC.
Tomorrow I'll be back here and report if it ran.
This time it ran correctly. πππ
What I did do differently this time is forcing a redeploy after changing the CRON settings. Maybe that made a difference.
I'll test this some more the next days. π
If it's stable, then great. ππ» Another solution I have in mind is the following:
I make the function accessible trough an URL and trigger it by using an external service. I found www.fastcron.com that seems to be able to do this.
My function ran correctly again today. ππ»ππ»
Now the ultimate test: I'll upload my function again and then set the CRON setting, without forcing a redeploy afterwards. Lets see what happens. I suspect that is the problem.
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 ...