I just bought a VPS (Virtual private server) account for my website. I've only been hosted on virtual servers before so this is new to me.
In the last week the VPS has stopped once and freezed once, when I found out I just restarted my VPS using Virtuozzo.
I would now like my VPS to automatically send a http query, say every 30 min. If the site seems to be down the VPS should then try to restart itself using reboot.
I'm pretty sure this is simple but I don't know how to perform this task and need help. I've got SSH access to the VPS.