Auto shutdown, How?

Steve Riley steve at rileyz.net
Sat Aug 17 07:03:23 UTC 2013


On 2013-08-17 08:55:50 Knapp <magick.crow at gmail.com> wrote:
>
> I want my daughters computer to shut itself off automatically at 9pm. How
> can I do this? It would be good if she can't stop it! She has no sudo,
> really no passwords at all.

Put a shutdown in root's crontab.


Open it in the nano editor with:
sudo crontab -e

Then add the following line at the end:
0 21 * * * /sbin/shutdown -P now

Save the file and exit the editor.


She could, of course, power the computer right back up after that.

...Steve




More information about the kubuntu-users mailing list