How can I get a function to run 30 minutes after an event, say, to send additional emails in reaction to a user sign up. Scheduled functions apparently only allow for recurring functions (daily, weekly, every tuesday etc etc), but I want a delayed function.
I don't think there is any feature as a delayed function,
But maybe you can create a function thats something like this
time.sleep(1)
current_time = datetime.now()```
But then, the max execution time of a function in appwrite is 15mins
It won't work for a 30 mins delay🤔
Delayed functions, hmm, interesting
for something like scheduled functions, you would do something like this https://medium.com/@ujjwal26599/leveraging-power-of-appwrite-to-build-scheduling-applications-40615fa7e7f7
But since you do not want that, maybe you can use counters that are silently triggered upon your event and linked with it.
Recommended threads
- HTTP POST to function returning "No Appw...
Hi everyone, I’m running into an issue with my self-hosted Appwrite instance. I’ve set up my environment variables (APPWRITE_FUNCTION_PROJECT_ID, APPWRITE_FUNC...
- Can't add dart 3.5 runtime
Modified the `.env` to enable dart 3.5 runtime on my self-hosted instance but still can't find the runtime when creating a new function. I manually pulled the i...
- How to verify an user using AppWrite Fun...
I have seen similar questions but none whose solutions serve me. I have a function to verify a user with their secret and their id: https://blahblah.appwrite.gl...