ADSM-L

Re: Preschedulecmd on NT question

2001-05-16 04:17:09
Subject: Re: Preschedulecmd on NT question
From: Michel Engels <Michel.Engels AT DEVOTEAM DOT BE>
Date: Wed, 16 May 2001 09:33:31 +0100
I do prefer to execute commands like this in a little .cmd or .bat script. The
advantage is that you can control a bit more the execution return codes and the
redirection of the output to log files. Doing like this you do not have to
bother about spaces. Just choose a directory and a script name without spaces
otherwise enclose them with the double quotes.

Hope to have helped,

Michel Engels
TSM Consultant
Devoteam Belgium





David Longo <David.Longo AT HEALTH-FIRST DOT ORG> on 05/15/2001 05:15:01 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:  Preschedulecmd on NT question



We are preparing to use preschedulecmd and post on Windows NT 4.0 clients with
TSM 4.1 client.   The manual states this about the command string:

"If the command string contains blanks, enclose it in  double
quotes.  If you placed double quotes within the command string,
use single quotes to enclose them."

So does that mean if my command that I waould use on system without Tivoli
is:
net stop "App Service"

Then would the Tivoli equivalent be like this:

preschedulecmd "net stop '"App Service"'"

with the single quotes outside each end of double quotes around App Service?



David B. Longo
System Administrator
Health First, Inc.
3300 Fiske Blvd.
Rockledge, FL 32955-4305
PH      321.434.5536
Pager  321.634.8230
Fax:    321.434.5525
david.longo AT health-first DOT org



"MMS <health-first.org>" made the following
 annotations on 05/15/01 12:16:47
------------------------------------------------------------------------------
This message is for the named person's use only.  It may contain confidential,
This message is for the named person's use only.  It may contain confidential,
proprietary, or legally privileged information.  No confidentiality or privilege
is waived or lost by any mistransmission.  If you receive this message in error,
please immediately delete it and all copies of it from your system, destroy any
hard copies of it, and notify the sender.  You must not, directly or indirectly,
use, disclose, distribute, print, or copy any part of this message if you are
not the intended recipient.  Health First reserves the right to monitor all
e-mail communications through its networks.  Any views or opinions expressed in
this message are solely those of the individual sender, except (1) where the
message states such views or opinions are on behalf of a particular entity;  and
(2) the sender is authorized by the entity to give such views or opinions.

 =============================================================================
<Prev in Thread] Current Thread [Next in Thread>