[GRLUG] Time-Based Internet Blocking?

john-thomas richards jtr at jrichards.org
Mon Feb 25 08:45:19 EST 2008


On Sun, Feb 24, 2008 at 10:45:18PM -0500, Greg Folkert wrote:
[snip]
> 0 22 * * 0-4 /sbin/route del -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.1.1 dev eth0
> 0 8 * * 1-5 /sbin/route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.1.1 dev eth0
> 
> That works for my daughter's computer to shut her down at 10PM
> weeknights.

Oh, great.  Now when my ten-year-old turns fifteen, there will be yet
another reason I am the Worst. Parent. Ever.

In other words, what a great cron job!

[snip]
-- 
john-thomas
------
Any sufficiently advanced technology is indistinguishable from magic.
Arthur C Clarke, science fiction writer (1917- )


More information about the grlug mailing list