Automatic Network Shutdown / Restart

Kevin Cozens kevin-4dS5u2o1hCn3fQ9qLvQP4Q at public.gmane.org
Wed Dec 9 21:43:15 UTC 2009


Darryl Moore wrote:
> If your kids don't turn on the machine until after 5pm then cron will
> miss the job. Also, all they have to do is reboot the machine after the
> 5pm shutdown and it will come back up again.

Simple solution. Combine a cron job with a boot script. If the machine 
is booting up after 5pm, disable the network. Also schedule a cron job 
to run at 5pm to disable the network.


--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list