have a look at this post.
It is fairly easy in unix to schedule a command to reboot your server every day or when ever you need it.
Just remember it may kill any large download you would do overnight.
I would also investigate for other problems. My zeroshell worked flawlessly for 673 day’s before I rebooted to install the latest update.