How to delete data in a table after some time like expiry time in cloud automatically?
You could write a function with a cron job to delete the desired data based on the documents createdAt or updatedAt timestamp.
outdate but gives you the idea: https://dev.to/appwrite/30daysofappwrite-cloud-function-with-cron-258c
Recommended threads
- My cloud functions failing 3 days ago (P...
Hi, My cloud function using python has been failing for 3 days, I didn't push any new deployments... Its something to do with it not recognising the entrypoi...
- Scheduled works locking the entire Maria...
I have a scheduled function and apparently that or something is locking the entire MariaDB database and Appwrite is giving MariaDB errors. This error persists e...
- Function was working: Failed to load ent...
I had a Bun function deployed two months ago working until 2 days ago on a daily basis, now I'm getting: Failed to load entrypoint, file src/main.js does not ex...