by sideproject · 8y ago · 0 comments
I'm calling it a "speed-dial for your APIs". I used to have a VPS that would run out of memory, so easiest way to resolve this was to restart the server. But even that was annoying, so I created a button that would call the API to restart the box. Now I just have to click the button whenever I want to reboot.
Something similar to CRON, I'm currently building a feature in tsk to schedule the tasks.
> so I created a button that would call the API to restart the box
Been thinking about building a 'button' that does this as well. Will check out TSK to see how well it addresses this. Sound idea for sure.
why reinvent the wheel and not use cron or systemd? why reboot instead of searching for the offending script/process and fixing it?