ADSM-L

Re: capture output from prescheduled command

2001-03-06 04:24:50
Subject: Re: capture output from prescheduled command
From: Michel Engels <Michel.Engels AT DEVOTEAM DOT BE>
Date: Tue, 6 Mar 2001 09:39:55 +0100
Did you try the following:
Create a bat script for example c:\scripts\presched.bat specifying the following
command:

d:\domino\ncompact.exe -B 10 >> c:\progra~1\tivoli\tsm\domino\compact.log

and executing the c:\scripts\presched.bat as prescheduled command.

Michel







Lisa Cabanas <CABANL AT MAIL.MODOT.STATE.MO DOT US> on 03/05/2001 09:48:08 PM

Please respond to "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>

To:   ADSM-L AT VM.MARIST DOT EDU
cc:    (bcc: Michel Engels/BE/Devoteam)

Subject:  capture output from prescheduled command



I am trying to figure out how to capture the output of an ncompact.exe -B
command (a Domino server command that reassigns new DBIIDs to the compacted
databases) that is run as a prescheduled command in a special dsm_sel.opt.  The
scheduler picks up the schedule, and the selective TDP backup occurs, (and says
it is using the c:\progra~1\tivoli\tsm\domino\dsm_sel.opt)  but I can not tell
whether the compact was successful.

I have tried putting the statement in the dsm_sel.opt file

preschedcommand d:\domino\ncompact.exe -B 10 >>
c:\progra~1\tivoli\tsm\domino\compact.log
with all sorts of variations of where the quotes are-- no out put.


I have also tried putting these commands into another command file that is
called by the prescheduled command, and no go on it, either.


Has anyone done this?

thanks!!
lisa
<Prev in Thread] Current Thread [Next in Thread>