Do it once:
e.g. shutdown your linux box at 7:30 January 10th:
at 7:30 jan 10... make sure the at daemon is running:
> shutdown -h now
> CTRL-D
/etc/init.d/atd start or rcatd start for SuSE... and check your at queue:
atqDo it regularly:
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 ...
No comments:
Post a Comment