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
- Rate limit
How do I solve "Signup Failed, Rate limit for the current endpoint has been exceeded. Please try again after some time"? I have Pro and around 2k requests per ...
- Type 'Theme' does not satisfy the constr...
Type 'Theme' does not satisfy the constraint 'Row'. Type 'Theme' is missing the following properties from type 'Row': $id, $sequence, $tableId, $databaseId, a...
- Dev Keys not working
looks like dev key are broken they simply don't work i suggest remove them until you have them working otherwise they confuse devs took me few minutes trying ...