Hey all I am building a Flutter app and want to create scheduled executions of a fucntion from SDK will that be possible ??
what have you found so far from your research? where have you looked?
I have looked into the docs of Appwrite concerning executions I learned about corn expressions that can be used to schedule a cron function I believe this might help me
So I explored corn expressions and learned how to use them, now I need a way to schedule an execution through my Flutter apps I tried to browse the docs but all it says is the execution can be scheduled using cron expressions in your function settings I am looking for a way to do it using client SDK (not to create an execution rather schedule it )
Okay I figured its in the function docs rather than executions thanks
Also @Steven I wanted a little guidance
I am contributing to an open source project named Resonate it uses Appwrite as the BaaS I need to implement a reminder sort of feature where the users sets reminder and atv that time a push notification needs to be sent fromt he server What could be the best way to implement it I had two ways in my mind
Way 1: A cron fruntiosn that runs every 5 mins fetches data from data base and subtracts current time from it and checks if the difference is less than 5 then it sends the notifications
Way2: create an entire new function for each remined the function will be scheduled to run only once and at the time of the set reminder this could give better accuracy with time
Which way could be better or if there is any other better way please do let me know of it, please do help
way 2 doesn't sound like it will scale.
way 1 is what i would do
Understood, is there any other way ?
not at the moment
Understood thanks
Recommended threads
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...
- 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...