Re: kill mozilla after idle time
From: Hugo Vanwoerkom (hvw59601_at_care2.com)
To: firstname.lastname@example.org Date: Fri, 19 Dec 2003 14:15:52 -0600
Daniel Gall wrote:
> Hi there,
> i´m not (yet) too familiar with linux but would like to exchange the os of
> several computers in our school from windows xp to linux (knoppix
> Beforehand i want to make sure if (and how) i can accomplish that a program
> (i.e. Mozilla) will be killed after a certain idle time (no user activity)
> and will restart right after.
I would write a program to do that and run it as a daemon at boot.
Because I know it, I would use c++ and Qt (but not necessarily for GUI
purposes) and invoke ps to snoop on who is idle.
Just looking at ps now, it appears you can do that although I know
nothing of ps except the man page (and few exaples ;-( ).
I think you're idea is great.
> Background: A pre-defined e-learning info-website should be seen by default
> when students start using the computer. Since i am aware that not all
> students will remain on that site i want to make sure that this page is
> reloaded automatically after, say , 5 minutes of no user activity.
> Thanks a lot for any help,
-- To UNSUBSCRIBE, email to email@example.com with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org