![]() |
|
Perl-Sensitive Sunglasses | |
PerlMonks |
Re^4: Get computer idle timeby bofh_of_oz (Hermit) |
on Jul 06, 2005 at 12:23 UTC ( #472774=note: print w/replies, xml ) | Need Help?? |
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...
--------------------------------
In Section
Seekers of Perl Wisdom
|
|