
Hello again, sorry if it is a noob question, but:
I have restarted my PC, and my functions had stopped working and don't start running again automatically.
I mean, I have two functions that are scheduled. And they are not starting automatically after restart my PC Is that normal behaviour?

Ya...the schedule is put in redis. It's possible that was cleared out when redis was restarted. Updating the function schedule to something else and then back should kickstart it again.
I think we're working on improving this to not rely on redis, so stay tuned!

So to make it automatically, I probably need to create an script that update that, and runs on linux startup after appwrite is running?

Sure ya

Okay thank you.
I'm trying so hard to take advantage of all the tools that appwrite give us. (I really like the platform, and want to build everything on top of appwrite) But sometimes functions are a bit hard.
Thank you so much Steven for all the help.

Yes, we understand. That's why we're focusing on it for our next release

Thank you. Do you think is a nice idea to use functions to make some logic over the appwrite databases, or should I create scripts on a separate container?

I would use in built database APIs as much as possible and then try to use functions for anything else

Can you elaborate a bit on that, please?
I'm worried about using functions for the wrong purposes.

Haha. Generally, you need a function if you want any sort of custom logic.
There's a case where you want some fields read only but others writeable. You may not need a function for that. One way to do it is to use separate collections. a read only one and a writeable one.

Oh I understand.
I'm using functions right now to create a CSV and upload it to buckets.
And another function to send some data to a remote API.
What do you think?

My question is, creating functions for that is good, or should I create that as an external script?

Function is fine
Recommended threads
- Permissions for bulk operation
Hi team, I have a question: “In the databases.createDocuments bulk API, can I set document-level permissions? If yes, how exactly should I include the permissio...
- Limit File Upload count?
Is there a way to limit the number of files a user can upload? I know there's a limit of file size but in my case I'd like to limit the user to only upload x am...
- Function not rebuilding properly
I have a function connected to github. Whenever I push to github it triggers a rebuild as expected, but the new function is not activated after done. Also it ...
