Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^4: Get computer idle time

by bofh_of_oz (Hermit)
on Jul 06, 2005 at 12:23 UTC ( #472774=note: print w/replies, xml ) Need Help??


in reply to Re^3: Get computer idle time
in thread Get computer idle time

I don't think I would be in trouble if I get the logic right... For example, if I schedule the script to run at certain time (let's say, every other Monday at 9:30am). When the script runs, it waits for a minute, runs the activity check, and prints the report only if the inactivity time is less then a minute. Otherwise, wait some more until activity, then print...

--------------------------------
An idea is not responsible for the people who believe in it...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://472774]
help
Chatterbox?
[mr_mischief]: I remember buying retail a RedHat Linux 5.2 book with CD, and later a Mandrake 7 or 8 box set with all the commercial-only add-ons. Same thing with Caldera 2.3, cardboard box and all. These days I can mirror whole repos faster than that trip to the store.
[erix]: yeah. it's been some time since I last built a (linux) kernel but perl takes less than 30s and postgresql less than 2 minutes minutes :)
[talexb]: Yep .. came across SuSE 6.2 in my storage locker recently. How old is that.
[erix]: 2001 :)
[erix]: (I have the wp pages open :))

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2018-07-17 17:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (374 votes). Check out past polls.

    Notices?