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
- ClientException with SocketException: Cl...
hi <@564158268319203348> i have noticed this 500 status code in my function requests, it seems its not able to connect to the internet in the function as reque...
- NEW ERROR Invalid document structure: At...
Error: ```AppwriteException: document_invalid_structure, Invalid document structure: Attribute "pb.kmsgxPkgInfo.id_info" must be an array (400)``` I’m encounter...
- Issues with executor in Appwrite 1.9.0
Hi, I’ve recently did a fresh install of appwrite 1.9.0 self hosted and when I run a function, it just waits indefinite This is the error from the log: [Er...