Who watches the watcher?

Whilst sharing my Pi over the internet, I discovered a need to hard-reset it from time to time due to the various software which was being tested. My first thought was some sort of clever microcontroller-based solution for power-cycling the Pi on demand, but there were several technical hurdles and...