automated shutdown of applications

G

Guest

I use an automated application to backup off premises the data off of my PC.
One file is the .pst file associated with Outlook. The problem is that I
forget to shut down Outlook before I go home. Therefore, when the backup
application runs it is not able to backup the .pst file whereas it is still
in use. I need an automated timed command to shut down running applications
so that the backup application will be able to do its' thing.
 
G

Guest

I'm not sure about a specific application, but this will shutdown your PC if
require.

In Cmd, type shutdown -t nnn. Nnn represents seconds. All you have to do is
convert the hours to seconds. For example, if you want to turn off your
computer in 2 hours, then you go to Cmd and type shutdown -t 7200 because 2
hours times 3600 seconds (the number of seconds in one hour) equals 7200
seconds. It's that easy.

Then write a .com file and tell task scheduler to run it as a set time
everyday.
 
M

Martin

Steve-FLL said:
I use an automated application to backup off premises the data off of my
PC.
One file is the .pst file associated with Outlook. The problem is that I
forget to shut down Outlook before I go home. Therefore, when the backup
application runs it is not able to backup the .pst file whereas it is
still
in use. I need an automated timed command to shut down running
applications
so that the backup application will be able to do its' thing.

Open a Command Prompt and enter

taskkill /?

'Description:
This command line tool can be used to end one or more processes.
Processes can be killed by the process id or image name.'

Martin.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top