Re: Scheduled tasks and shutdown.exe
- From: "Pegasus \(MVP\)" <I.can@xxxxxxx>
- Date: Sat, 8 Dec 2007 20:28:26 +0100
<bryan@xxxxxxxxxxxxx> wrote in message
news:45ed81f9-882b-40c3-99b8-7dbf7b494320@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I suspect that perl.exe executes in an independent processNo. shutdown.exe doesn't run until the perl program completes.
and returns control to the batch file immediately, even while
it is still executing. You can easily check this: Execute the
command "perl D:\ExtractPrices.pl" from a Command Prompt.
Can you enter new commands while the Perl script executes?
There is your answer!
This still wouldn't explain why this scheduled task, consisting of a
bat file, runs every time windows starts (and consequently shutsdown)
when the shutdown.exe is present in the bat file but only when
scheduled when it isn't. I'm baffled.
I am equally baffled by your statement "[It] runs every time windows
starts (and consequently shutsdown) when the shutdown.exe is present
in the bat file but only when scheduled when it isn't."
I read this phrase four times before giving up due to a severe
risk of my brain going into a loop without exit. Can you split
this up so that my simple mind can figure out what you mean?
.
- Follow-Ups:
- Re: Scheduled tasks and shutdown.exe
- From: bryan
- Re: Scheduled tasks and shutdown.exe
- References:
- Scheduled tasks and shutdown.exe
- From: bryan
- Re: Scheduled tasks and shutdown.exe
- From: Pegasus \(MVP\)
- Re: Scheduled tasks and shutdown.exe
- From: bryan
- Scheduled tasks and shutdown.exe
- Prev by Date: Re: how delete system sound
- Next by Date: Re: How do I make Microsoft understand?
- Previous by thread: Re: Scheduled tasks and shutdown.exe
- Next by thread: Re: Scheduled tasks and shutdown.exe
- Index(es):
Relevant Pages
|