Title says it all really.
But every night, unless I'm actively using it, my computer restarts, and every time, at midnight. I was wondering if their is anything I can do to stop it, or to find out what's actually causing it, or any help in general.
I'm using 12.04 LTS.
dmesgcommand,/var/log/messagefile and ifcrontabhas anything fishy. – Karthik T Dec 04 '12 at 05:19dmesg, you could runwatch 'sudo dmesg -c >> /tmp/dmesg.log'just before it is supposed to restart and check what are the last few messages after it does. and is it/var/log/messages– Karthik T Dec 04 '12 at 05:41sudo crontab -landcrontab -l? This will help to know if any cron jobs have been scheduled. – saji89 Dec 04 '12 at 11:42