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
- How to send Webhooks to internal network
When saving the URL for sending Webhooks, Appwrite checks if it's a valid external domain name so entering internal IP address or docker hostnames won't save th...
- Function domain not available
Hello, even tho in docs you clearly describe that every function has its domain, I can not see it anywhere in any of my projects. How do I reveal the url of th...
- Inquiry: How to Reduce Cold Start Durati...
Hey! I was using Python for the function runtime, but after reading that Go has the fastest runtime, I switched my code over to Go. However, I'm still seeing co...