ADSM-L

Re: scheduler fails on tdp command scripts ( drives me nuts )

2002-11-21 08:12:44
Subject: Re: scheduler fails on tdp command scripts ( drives me nuts )
From: Del Hoobler <hoobler AT US.IBM DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Thu, 21 Nov 2002 08:10:05 -0500
Koen,

The first thing you should check is to make sure the
command script is even being run.
A good way to test this is to put a command in
script that generates some type of output on
the local machine that you can check.  That way
you can see if the script is even being executed.
For example:    DIR C:\TEMP > C:\TEMP\TEST.OUT.
If, after the schedule runs, the "TEST.OUT" file
is not generated, then the script is not even
being run and the problem is probably with the
definition of the schedule.
If that is the case...

Are you specifying the full path name to the script
in the objects field of the defined schedule?

Are there spaces in the path name? If there are,
you may have to use double quotes and single quotes
around the parameter when defining the "objects=xxx" option.
For example:

   OBJECTS='"C:\Program Files\Tivoli\TSM\domino\dominc.cmd"'

Notice the two sets of quotes, a set of single quotes
and a set of double quotes.

Thanks,

Del

----------------------------------------------------

Del Hoobler
IBM Corporation
hoobler AT us.ibm DOT com

- Never cut what can be untied.
- Commit yourself to constant improvement.

==============================================================
> > When isntalling a scheduler for my TDP with dsmcutil and defining a
>schedule
> > on the server with action command and object the command script
> > all looks fine.
> >
> > The dsmched.log shows a new time slot and when I check on the server I
>get
>a
> > succes when entering q ev * *.
> >
> > The thing is that my backup has failed with. error 1 or 4.
> >
> > I already tried different user accounts. But this does not help...
> >
> > Anybody ????

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