K
Koos Pol
After unfruitful debates with my teenage daughter about not spending too
much time on her computer, I decided to take the more eh, pragmatic
approach. As I couldn't find any program that suites me, I've written a
small Perl script that you can launch from your Un*x boot scripts.
You can run it like
login_quota -u mary -t 120 &
This will make sure Mary does not spend more that her alloted 120 minutes.
Some things perhaps noteworthy:
- It pauses timing when Mary's screensaver is running
- It can be fooled if she leaves a screensaver running on another X display
- Configuration locations are hard coded.
- It could use a day scheme variation. It would be nice to allow different
quota for for instance weekends.
But as it suits me already I'm not bothering to take it up another step.
If anyone wants to steal or borrow it, please feel free. I would appreciate
it though if you make your improvements public.
http://www.xs4all.nl/~koospol/public/login_quota
Cheers,
Koos
much time on her computer, I decided to take the more eh, pragmatic
approach. As I couldn't find any program that suites me, I've written a
small Perl script that you can launch from your Un*x boot scripts.
You can run it like
login_quota -u mary -t 120 &
This will make sure Mary does not spend more that her alloted 120 minutes.
Some things perhaps noteworthy:
- It pauses timing when Mary's screensaver is running
- It can be fooled if she leaves a screensaver running on another X display
- Configuration locations are hard coded.
- It could use a day scheme variation. It would be nice to allow different
quota for for instance weekends.
But as it suits me already I'm not bothering to take it up another step.
If anyone wants to steal or borrow it, please feel free. I would appreciate
it though if you make your improvements public.
http://www.xs4all.nl/~koospol/public/login_quota
Cheers,
Koos