Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Get computer idle time

by waswas-fng (Curate)
on Jun 30, 2005 at 22:59 UTC ( #471501=note: print w/ replies, xml ) Need Help??


in reply to Get computer idle time

I don't get it. If you need to be at the computer for it to print, why not just make it a clickable script? If your not there to click it the darn thing will not spew your paper to the printer. Seems more logical then trying to divine when you are at your computer via activity.



-Waswas


Comment on Re: Get computer idle time
Re^2: Get computer idle time
by bofh_of_oz (Hermit) on Jul 04, 2005 at 14:33 UTC
    Because if it is a clickable script, I will need to remember to click it, which I can forget, which is the main reason for creating the script in the first place.

    Essentially, I, being a very lazy guy with some programming skills, want to make my life so easy that all I would have to do to submit an overtime report is to walk up to the printer, pick up the already printed report, and give it to the manager. Sounds reasonable, right?

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

      Essentially, I, being a very lazy guy with some programming skills, want to make my life so easy that all I would have to do to submit an overtime report is to walk up to the printer, pick up the already printed report, and give it to the manager. Sounds reasonable, right?
      Are you burning overtime to make this happen?

      Seriously, if you want something to run after some amount of inactivity, you may be in trouble. Let's say it runs after 10 minutes of inactivity. Does it print every time you go to the washroom? Talk on the phone? Fall asleep at your desk?

      -QM
      --
      Quantum Mechanics: The dreams stuff is made of

        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://471501]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (17)
As of 2014-09-19 18:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (144 votes), past polls