Best tool for long lasting background work? (e.g. 15 mins)

I have an app which runs on cloudflare pages. This means that my backend runs on workers on the edge, and have a 30 second timeout. Is there a tool in cloudflare, which allows me to run a specific worker/function for longer? like 15 minutes? It doesn't need to return anything, it needs just to compute something and save it in the database.
3 Replies
zegevlier
zegevlier2y ago
Cron triggers allow for up to 15 minutes of runtime
cosbgn
cosbgnOP2y ago
I'll check their docs, thanks
Tin Cap
Tin Cap2y ago
If you need more than 15 minutes, consider splitting up your work and publishing messages to queues

Did you find this page helpful?