Hi!
Whats the procedure for making a cron function running again thats stuck? We want to avoid deleting them altogether and re-deploying didn't work.
As per Function overview the next execution is scheduled "25th February"
you can try:
- remove cron schedule (make sure to click Update)
- add the cron schedule back
Aha! Why didn’t I think of that. Seems to have reset the execution timer.
whats odd is that the function seems to have executed all the time, according to appwrite but nothing ever was really executed
(The Usage shows execution, but the web request in the function never sent)
are you sure it's from the same function?
Definitely, double checked
After the cron reset it seems to work just fine now
did you see stuff in the execution logs of the function?
Nope it was empty
how did you check?
Matching the function id in the URL and the name of the function
what version of appwrite are you on?
Not on latest yet, 1.3.1. However this issue occurred right after the upgrade from 1.2.1
I cannot reproduce it at all as I am not sure how it happened to begin with, however errors were at zero as well
so weird...even at 1.2.1 the stat should only be recorded if an execution is created...https://github.com/appwrite/appwrite/blob/0180aff4f540fc4085190d8a0606196dc9db2275/app/workers/functions.php#L367-L378
I found the underlying display issue
it seems appwrite displays 30 days by default, however 24h is marked as active
this should explain it better
Recommended threads
- Hi, I'm getting this error while deployi...
✗ Error • search (6937cb70002c2e9c1a97) • Fai ✗ Error: Deployment of search has failed. Check at https://cloud.appwrite.io/console/project-693...
- Timed out waiting for runtime. Error Cod...
After setting up my ML project that uses deepface and tensorflow in appwrite functions I get the `Timed out waiting for runtime. Error Code: 400. ` error. I am...
- Bug: Cloud Function On Schedule Didn't R...
Heya I have a cloud function with this cron `0 17 * * *` to run at 9AM PT every day. I have not touched this since I set it up, and it has been working fine s...