Auto suspend and resume

is there any command that makes the system goes suspend/hibernate at 5pm, and then resume from suspend/hibernation on the next morning?

qshutdown and rtcwake?


so, 2 separate applications?