Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: using TaskScheduler to reboot Win32 machine

by bmann (Priest)
on Jul 12, 2007 at 01:26 UTC ( [id://626123]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $APP_NAME = q#c:\\perl\\bin\\perl.exe#;
    my $PARAMS = q#-MWin32 -e "Win32::InitiateSystemShutdown(' ','Rebootin
    +g',5,1,1);"#;
    # ...
    $scheduler->SetApplicationName( $APP_NAME );
    $scheduler->SetParameters( $PARAMS );
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2024-04-16 16:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found