Back

Schedule functions to run only once

  • 0
  • Functions
Hochet
19 Mar, 2024, 07:10

Is it possible to schedule a function to execute only once in the future, not recurring, with a different request body every time ?

Looking at the documentation it doesn't seem possible, another possibility would be to schedule a recurring function, have it run once and then cancel itself. But I didn't find any "cancel upcoming function execution" API endpoint, did I miss it ?

Thanks a lot !

TL;DR
Developers are looking for a way to schedule a function to run only once in the future with a different request body each time. They are wondering if there's an option to cancel upcoming function executions. Solution: Schedule a recurring function to run once and then cancel itself manually as there is no specific API endpoint to cancel upcoming executions.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more