Way to shut the PC down at a specific preset time?
Morten W. J.
morten at newtec.dk
Fri Apr 21 06:05:44 UTC 2006
On Thursday 20 April 2006 14:44, Anthony D. wrote:
> Is there a way to make Ubuntu shut a PC down automatically at a preset
> time each day? All I can find so far is the screensaver's "shut off
> after x minutes" function, which isn't what I'm looking for... thanks!
You could insert the line
42 17 * * * root shutdown -h now
into your /etc/crontab file.
This will cause linux to shutdown at 17:42 any day.
--
Morten W. Jørgensen
Newtec A/S
Stærmosegårdsvej 18
5230 Odense M
Denmark
Tlf.: 66 15 84 44
More information about the ubuntu-users
mailing list