26
What is a good way to run background tasks in a web app — reports, emails, scheduled work?
My application needs to generate reports that take a minute or two, send emails, and run some scheduled maintenance overnight. Doing any of it inside a request is obviously wrong — the user waits and the request times…