
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
- Cannot find module failure
Sorry, Newbe question here. I just installed Appwrite and am trying to install my first Function an am having absolutely no luck what-so-ever getting this done...
- Can't push functions when self-hosting o...
Hello, I'm a bit new to appwrite functions and recently hosted a fresh 1.7.4 on my portainer setup. Tried to create a new function and when trying to push it I ...
- Internal curl errors has occurred within...
