Scheduled shutdown

G

Guest

How can I schedule a system shutdown (eg to occur at the end of a long backup
job)? Is there a ready made .exe file which you could run to perform a safe
shutdown? Or do you have to put various commands into a batch file?

Is there a way of making the shutdown conditional - eg would only happen if
the backup process has finished?

Grateful for any help.
 
A

aD

simonc said:
How can I schedule a system shutdown (eg to occur at the end of a long backup
job)? Is there a ready made .exe file which you could run to perform a safe
shutdown? Or do you have to put various commands into a batch file?

Is there a way of making the shutdown conditional - eg would only happen if
the backup process has finished?

Grateful for any help.

http://www.sysinternals.com/ntw2k/freeware/psshutdown.shtml

I use PSShutdown (last night in fact!) as it gives quite a few options
and works on remote computers.

If you're using a simple copy/xcopy command, try:

copy backup.file C: & psshutdown <options>

The "&" is a way to chain up several commands and execute them one at a
time.

Otherwise, if your backup tends to last around the same time, set it to
run 30/60 minutes afterwards. Also if there are applications running
that refuse a shutdown request, PSShutdown won't force them closed
unless you specify.

HTH,


aD
 

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