Suspending to RAM and waking for scheduled recordings.

I have just installed TVH on Openmediavault and everything is working fine.

However, I have to leave my server on all the time to successfully record anything.

I am a very new Linux user and would be really grateful to know how to have the server suspend to RAM after an idle period of 5 minutes but then wake up for any scheduled recordings.

My current Windows server does this with ease, via Power Management, but I have hard that Linux is a little more complex than this.