Background jobs on a host without workers
When you can't run a queue, a table and a scheduled job will do.
My <stack> app on <host> needs to do slow work after a request finishes: <describe it>. This host can't run a long-lived worker process. Design the simplest thing that works here: - A jobs table in my existing database. - A scheduled job that picks up pending work every minute or so. - Locking, so two runs never take the same job. - Retries with a limit, and somewhere to see jobs that keep failing. - How the user finds out their job is done. Only use what this host supports. Show me the table, the scheduled script and how a page queues a job.
A table and a scheduled job is a real queue. It handles far more than a small project needs, and there's no extra service to keep alive.