Ever thought that someone should just shutdown your PC at night so that you can sleep on time. Here's the solution:
Add .sleep.sh in your home directory. Make it executable by doing:
cd ~ && chmod +x .sleep.sh
Append crontab entry given in sudo_crontab.txt to your root cron using,
sudo crontab -e