Auto shutdown, How?
Nils Kassube
kassube at gmx.net
Sat Aug 17 07:34:36 UTC 2013
Steve Riley wrote:
> 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.
> Then add the following line at the end:
> 0 21 * * * /sbin/shutdown -P now
> She could, of course, power the computer right back up after that.
And if you change the crontab line like this
* 0-5,21-23 * * * /sbin/shutdown -P now
she can still power it up, but it will shut down again at the next full
minute until 6am.
Nils
More information about the kubuntu-users
mailing list