Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: starting a win2000-service with delay

by flounder99 (Friar)
on Sep 19, 2003 at 11:58 UTC ( [id://292639]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $delay = 3600;
    my $$service2start = "C:\\path\\mycoolservice.exe";
    my $starttime = sprintf "%d:%02d:%02d", (localtime(time+$delay))[2,1,0
    +];
    exec("at", $starttime, "net", "start", $service2start);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-03-29 13:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found