My system that updates the status has a task checker, this means I can have it run an action (restart, for example) at a specific time every day, and I can specify parameters such as if the server is empty.
However, since HRP is never empty, this best would be to have it restart at a specific time and have the server notify the in game players.