You should pass the p flag to power off the system, i.e.
However, if you're running normally you should call the poweroff command. Simply,
To schedule it you should do it in your crontab file (usually in /etc/) check out the man page of it, type in a console:
Cheers,