Scheduled Application Shutdown

Associate
Joined
16 Sep 2005
Posts
39
Location
Bristol
Hi all,
Does anyone know of any software which will close an application at a certain time. I use task scheduler to start applications but as far as I know it cannot close it.

I have had a quick search in Google but cannot find anything.

Cheers,
Chris
 
I may be wrong but you could write a .bat program that runs in the background. Tell scheduler to start it with the program you want to start and then the .bat will end it at the desired time you program it to.

:)
 
first off if using winXP the save it as a .cmd file.
the command script should look somthing along the lines of this:-

Code:
@echo off
taskkill /IM iexplorer.exe
echo Closing Internet Explorer
exit

@Echo off stops the window displaying the command functions
taskkill will kill the application in question
the echo command will display a line of text to tell you what been done
and the Exit command will close the command script window.

or if its a service you want to stop try this

Code:
@echo off
net stop "Automatic Updates"
echo Stoping the Automatic Updates Service
exit

the only difference with this one is the net command used for controling services.

Once you have tried and tested the script and got it going what you want then it can be set as a system script in Task scheduler to hide the process from the user.

Any more problems add me to MSN (in trust)
 
Last edited:
Back
Top Bottom