Here is mine: (down to one kid but she still won't go to sleep...)

/etc/crontab:
#block at 11:30pm (5:30UTC) and allow at 5:30am
30 5    * * 0,1,2,3,4   root    /etc/blockKids.sh
30 10   * * 0,1,2,3,4   root    /etc/allowKids.sh

blockKids.sh:
#!/bin/sh
shorewall drop 172.16.2.4

allowKids.sh
#!/bin/sh
shorewall allow 172.16.2.4

JamesS
At 02:57 PM 9/22/2005, [EMAIL PROTECTED] wrote:

Would you be able to share a copy of said cron job... I think that would
be useful to many...

----- Original Message -----
From: steve <[EMAIL PROTECTED]>
Date: Thursday, September 22, 2005 9:55 am
Subject: Re: [leaf-user] Time based blocking.

> My kids have a seperate computer with a seperate IP address.  I
> just set
> up a cron job to drop/add the IP address at specific times/days.  It
> keeps them from gaining access to the internet, while still
> allowing me
> to do any work that I need to.
>
>
> > Hi,
> >
> > I just put my 13 son on his own computer behind my bering uclibc
> firwall.> So naturally I'm trying to keep a lid on his internet
> usage:-)
> > Besides (net nanny/cyber sitter) etc.  I thought it might be
> useful to
> > block his access to the internet after his bed time.
> > Any ideas on how to do this?
> > Any other suggestions would be much appreciated.
> >
> > Thanks,
> > Glenn
> >
> >
> >
> > -------------------------------------------------------
> > SF.Net email is sponsored by:
> > Tame your development challenges with Apache's Geronimo App
> Server. Download
> > it for free - -and be entered to win a 42" plasma tv or your very
> own> Sony(tm)PSP.  Click here to play:
> http://sourceforge.net/geronimo.php> -------------------------------
> -----------------------------------------
> > leaf-user mailing list: [email protected]
> > https://lists.sourceforge.net/lists/listinfo/leaf-user
> > Support Request -- http://leaf-project.org/
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server.
> Downloadit for free - -and be entered to win a 42" plasma tv or
> your very own
> Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> --------------------------------------------------------------------
> ----
> leaf-user mailing list: [email protected]
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> Support Request -- http://leaf-project.org/
>


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to