
I am attaching a code snippet here. Is it possible to run this on appwrite

Don't think so As your function will run inside an isolated open-runtime environment with no access to any Docker socket.

F

Ok so i have a question

If i run an appwrite function and save a file in the file system of the isolated run time given by appwrite. Once the function is over will that file be saved

Or once the function is over it's a fresh start

The file will be saved as long as the function run time is active. Once the function threshold is over - usually up to 61 minutes - them the container will get delete and that's include all the files you've created in the process.
To mitigate this issue it's recommand to create and use file using Appwrite storage module

thank you for your help. I found a solution
Recommended threads
- Stuck in "deleting"
my parent element have relationship that doesnt exist and its stuck in "deleting", i cant delete it gives me error: Collection with the requested ID could not b...
- Help with 409 Error on Relationship Setu...
I ran into a 409 document_already_exists issue. with AppWrite so I tried to debug. Here's what I've set up: Collection A has 3 attributes and a two-way 1-to-m...
- 1.7.0 Self Hosted Upgrade
Hi, I've tried a fresh install on 1.7.0 and I've also done a fresh install on 1.6.2. 1.6.2 is working fine fresh, update to 1.7.0 and migrate fails Fresh inst...
