Hello!
I have an issue when I schedule a function with minutes other than 0 or *, for example 30 1 * * *.
I deploy my function with the CLI and the schedule parameter on the json but the schedule is not active on my function. If I update my cron value on the console I have an error « Please enter a valid cron expression ».
What can I do to activate my schedule on my function?
I also add an issue on the Appwrite GitHub with screenshots : https://github.com/appwrite/appwrite/issues/5719
Thanks for your help! 🙏
it definitely seems like something might be wrong with the cron validation...I'll raise that with the team.
As for the problem about the function executing....how do you know the schedule isn't active?
Ok, thank you 😊 The schedule isn’t active because there isn’t clock icon next to the function ID on the functions list. I have an other function with * * * * * cron value and there is a clock icon and the schedule works correctly.
Honestly, I'm not so sure about the clock icon.
You said it's not executing...are you considering the timezone you're setting? It should be UTC
Ok, I just redeployed the function, I will see tomorrow if the function was executed (I am in France). I come back to you quickly.
It's ok, my schedule was launch this night 👍 It's just a problem on the first function deploy, when you change the cron value with * * * * * for example and you redeploy the function it works. Thank you for your help.
Recommended threads
- Excessive usage of cloud functions is sl...
I have made almost all my requests through cloud functions and jwt , due to security fears of a user editing a field he is not supposed to . This unfortunately...
- Dart Runtime as Function is missing
Hey guys, I set the _APP_FUNCTIONS_RUNTIMES to dart-3.10 and redeployed the appwrite stack but unfortunately the dart runtime doesnt show up. I copied the val...
- Go 1.25 runtime
So I'm trying to use go 1.25 for my functions and I can only find go-1.23 as a function runtime. So I did some searching and found https://github.com/appwrite/a...