Joe
Joe2y ago

schedule function send response to avoid timeout

Can I have a schedule function send a response
2 Replies
sshader
sshader2y ago
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.
Joe
JoeOP2y ago
Thanks! I'll take a look at that, probably what I need.

Did you find this page helpful?