Way to shut the PC down at a specific preset time?

blackwing0013 ulist at gs1.ubuntuforums.org
Thu Apr 20 13:14:50 UTC 2006

Use crontab ("man -S5 crontab" for details). However, you must use
crontab for root. Here's how you do it. On an xterm, execute the
> sudo crontab -e
You can use the following example an entry on your crontab to shutdown
your computer every 2am.
> # min, hour, day of month, month, day of week, command
> 30      02      *      *      *       /sbin/shutdown -h now


More information about the ubuntu-users mailing list