..... but it will work only if client scheduler runs in prompted mode ....
:-)).

-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED]]On Behalf Of John
Monahan
Sent: Tuesday, March 19, 2002 12:04 AM
To: [EMAIL PROTECTED]
Subject: Re: sleep style command in scripts


Not the prettiest of solutions, but it works.  You can create a TSM script
called sleep which uses a clientaction to run the sleep command on an AIX
system.

/* Sleep script */
define clientaction AIXNODENAME action=command -
 objects='sleep "$1"' wait=yes

Then from your other script where you want the pause:
RUN SLEEP 30

The actual sleep time will be a minute or two longer than the parameter,
because it waits for the client action to be scheduled, run, and finish
executing, so there is extra time added in there.



===================================================
      John Monahan
      Senior Consultant Enterprise Solutions
      Computech Resources, Inc.
      Office: 952-833-0930 ext 109
      Cell: 952-484-5435
      http://www.compures.com
===================================================





Joe Cascanette <[EMAIL PROTECTED]>
Sent by: "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]>
03/15/2002 12:16 PM
Please respond to "ADSM: Dist Stor Manager"


        To:     [EMAIL PROTECTED]
        cc:
        Subject:        sleep style command in scripts


Is there a command I can use in a TSM server script to provide a sleep or
a wait function?

Thanks

Joe

Reply via email to