Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Checking that local Windows machine is idle

by Corion (Pope)
on Feb 04, 2001 at 06:29 UTC ( #56269=note: print w/ replies, xml ) Need Help??


in reply to Checking that local Windows machine is idle

If your program is to be run while the computer is idle, why not simply set your perl script as the screensaver under Windows ?

A Win32 screensaver will be executed when the computer thinks so. For configuration, it will be started with the /c command line switch.

You can then either use your script as the screensaver or let your script run all the time and just let the screensaver program tell your script that it should now run.


Comment on Re: Checking that local Windows machine is idle

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://56269]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2015-07-07 04:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls