[Tutor] internet access
Tim Golden
mail at timgolden.me.uk
Thu Oct 11 14:02:54 CEST 2007
shawn bright wrote:
> i did something very similar to this. My daughter would stay on her instant
> messenger (gaim) all night if i didn't. i have a cron script that checks the
> hour of day, if later than x pm. does
> os.system("/etc/init.d/network stop")
> os.system("chmod a-x /etc/init.d/network") ( so that a reboot doesn't
> override it )
>
> then in the morning, makes it executable, and starts it up again.
> Then again, this is linux and my daughter, though somewhat geeky would not
> know how to beat this.
> Maybe something similar could be done in windows ? I don't know much about
> that OS.
Broadly, that's what my earlier suggestion amounted to. Windows
works very differently but disabling the network card from a
scheduled job is about as close as you're going to get. (I think).
TJG
More information about the Tutor
mailing list