I know that Appwrite Functions cannot be run on Kubernetes because of Docker Sock. But I want to run it With Kubernetes Cronjob. Is it Possible? . My Use case is, At 12 PM Midnight daily, I need to clear some values in DB. How can i do this? Any Help is Appreciated
you can setup a server which calls the function with cron job or not use function and use the sdk directly
and there are other services as well for hosting cron jobs
I don't understand what you mean? I currenly have managed Kubernetes in Vultr with Appwrite setup there.
wait I think appwrite also has cron jobs give me a minute
Sure
yes when creating a function you can schedule it
you can use this 0 12 * * * for your use case here
But To start a Function, I think we need Executor-worker running. But the Executor needs Docker-sock to be mounted. Which is not possible in Kubernetes(Security Risk). Thats why I'm searching for alternatives
Ah I see. One alternative I can think of is setting up your own server for doing this task and using server side SDKs to perform a task on DB periodically and adding it to your kubernetes cluster as I said above But my knowledge on appwrite is limited, you should wait for someone else to share their thoughts I think π
Sure, Will keep your Idea in Mindπ
Anybody Help me?
I hope your doubt got resolved in office hours? @ORIZON
Recommended threads
- TablesDB can't be used in Appwrite Funct...
I have written a function (DART) and it won't deploy. Here is what I get : 2026-03-14T17:09:41.459693680Z Compiling ... 2026-03-14T17:09:42.915619217Z ../build...
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...
- Function issue
Hi,idk whats wrong with my function but i made some changes to the env var and made sure they saved then i redeployed it,but then after it redeeployed it asked ...