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
- 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 ...