I use the following cron jobs for sleep at 11pm and wake at 6am. 0 23 * * * /opt/vc/bin/tvservice -o 0 6 * * * /opt/vc/bin/tvservice -p