slloyd has asked for the wisdom of the Perl Monks concerning the following question:

I am looking for a clever way to reset the idle time on my windows computer. Is this programatically possible without user interaction?

-------------------------------
Perl - Regularly Expression yourlself
http://www.basgetti.com

Replies are listed 'Best First'.
Re: Resetting the idle time
by roboticus (Chancellor) on Jul 21, 2006 at 01:00 UTC
    slloyd:

    If you're using Unix, and your program is running as root, you could use something like this:

    #!/usr/bin/perl -w `shutdown -r now`
    I'm certain that there are similar ways to do it on Windows, Mac, etc.

    </joke>

    --roboticus