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
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...
- Function in Node.JS to monitor events ar...
Hello everyone. I'm creating my first Node.JS function, but I don't have much experience with node and javascript. I'm trying to create a function, that monito...
- Deploy function not working - 503
Hellon i get this error message, when i try to deploy a new version of a function <html><body><h1>503 Service Unavailable</h1>No server is available to handle...