Assincronous Job

Is i possible to run a long task (30min-1hour) on a serverless endpoint, return the job id and when the job is completed hit a endpoint (to tell the job has finished)?
1 Reply
Encyrption
Encyrption2mo ago
You can run long tasks you just need to disable Execution Timeout or set it for a larger amount of seconds. You can send a webhook URL in with your request and it will POST the results to that webhook once the job completes.
{
"input": {},
"webhook": "https://URL.TO.YOUR.WEBHOOK"
}
{
"input": {},
"webhook": "https://URL.TO.YOUR.WEBHOOK"
}
No description
Want results from more Discord servers?
Add your server