Tag Archives: shutdown

Howto shutdown Linux box automatically?

a single one-time shutdown:

e.g. shutdown your linux box at 7:30 January 10th:

at 7:30 jan 10
> shutdown -h now

… make sure the at daemon is running e.g.:

/etc/init.d/atd start

… or for SuSE:

rcatd start

… and check your at queue:


scheduled shutdowns at certain intervals:

e.g. kill your computer every day at midnight (to make sure you get enough sleep):

crontab -e -u root
> 0 0 * * * /sbin/shutdown -h now

… save and exit …


Flattr this!