Simple Hosting for Small Scripts/ Testing during development

Hi everyone,

I have recently updated my homelab from a small pc just running a plex server (as daemon on an arch install) to a proxmox server, so I have an easy way to manage different services I want to add (e.g. Nextcloud and some local web hosting).

Now I have some smaller stuff I want to run on an instance without much effort. This mostly includes small scripts to manage my plex library (which would probably be best done with a few cronjobs) and some small personal telegram bots. Right now these are all running using standard long polling and I have been running them locally just as a background process in a separate shell window, but I would prefer having them always online when my server is. Similarly, I sometimes have some stuff I'm working on that I would like to run there over a few days to collect some log data, which might include the programs crashing, in which case I would like to have them start up again without having to monitor them manually. I have looked into a few options like nginx, heroku and gunicorn, but since these are all mostly used for actual webhosting it feels like these are all a bit overkill for what I'm trying to do here.

Does anyone know a simple solution for the kind of stuff I'm trying to run here? Or would it be smarter for me to just fully setup an actual server environment where I have these running?
If possible it would also be cool if whatever hosts these also has some kind of logging or monitoring built in, but that is very much optional, and for anything where I need an actual robust solution I will probably use one of the ones mentioned above

TL;DR: I would like to have some easy way to have scripts/programs run in the background on a proxmox container making sure they are restarted when something happens