schedule function send response to avoid timeout
Can I have a schedule function send a response
2 Replies
Can you say more about what you mean by sending a response? If you want to know when a scheduled function has succeeded or not (or other information about the scheduled function), you can store this state in the database so it's accessible from other Convex functions.
Something like https://stack.convex.dev/background-job-management might be helpful?
Background Job Management
Implement asynchronous job patterns using a table to track progress. Fire-and-forget, cancelation, timeouts, and more.
Thanks! I'll take a look at that, probably what I need.