Stopping outlook from a command line.

  • Thread starter Thread starter Paul Fitzpatrick
  • Start date Start date
P

Paul Fitzpatrick

I have a scheduling software that runs reports and emails
results. When we take the exchange server down for the
weekly backups (3 hours) my connections from my reports NT
server is killed and I get the retry, work offline
message. The problem is that I have reports that hold
until the connection is re-established. Which is not
until the next business day and someone manually clicks
the retry button. I have a job that starts MS outlook
with the command: START D:\reports\Bin\OUTLOOK.EXE which
will launch it. But I need the kill command to stop it
prior to the backups so it will start up ok. Any ideas?
I have tried shutdown, kill and stop.
 
One (slightly related?) question I have is, why are you doing offline
backups in Exchange? That isn't the best way to go - unless you're also
doing nightly online backups to tape. Offline backups are pretty useless for
disaster recovery in most cases.

For E2k: http://support.microsoft.com/default.aspx?scid=kb;en-us;Q326052
For E5.x:
http://www.microsoft.com/Exchange/techinfo/administration/55/BackupRestore.asp

Perhaps this will help resolve your problem?

Also could look into using something like "BLAT" to mail out your reports
instead of Outlook; that way you can use a scheduled batch file, Outlook
doesn't need to be running. Do a google search for "blat" - it's freeware. A
pain to configure the first time, but pretty seamless when you get it
working right....
 
Yes. Nightly Delta backups are done online. Blat is not
supported by MS I am not sure it will be the way to go for
us. (I know we use it somewhere but not for this. Still
I can get this working if I can just figure a way to kill
the MS outlook from a command line. Thanks for the help.
 
Back
Top