Yes, we have these outputs throughout various scripts.

Another way we have some things set up on our Unix platform is that we
create scripts and then run them through crontab - but it can also be done
through the admin schedule.

Ex:

script name - offsite_list.ksh

# Identify volumes to be moved offsite
DATE=$(date '+%m/%d/%y %H:%M:%S')
PULLDATE=$(date '+%m%d%y_%H%M')
CHECKOUT_FILE=${DRM_TOP}/pull_list.${PULLDATE}
cat ${TOP_BIN}/pull_file1.txt > ${CHECKOUT_FILE}

Then in the ADSM schedule name, we use the "run script" command.

or we place it in crontab -

We use crontab when it is a process that we are not worried about stopping
if necessary - we use admin schedule when we want a faster means of control.

:0)

Terry


----Original Message-----
From: Winfried Heilmann [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 16, 2000 9:02 AM
To: [EMAIL PROTECTED]
Subject: Re: redirect script-output


Hi,

do you use it in a script which is invoked by admin-schedule?

Regards winfried
---------------------- Weitergeleitet von Winfried Heilmann/Degussa AG/DE
on 16.08.2000 14:08 ---------------------------


"Barth, Terry V. (MBS)" <[EMAIL PROTECTED]>@VM.MARIST.EDU> on
16.08.2000 12:09:56

Bitte antworten an "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]>

Gesendet von:  "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]>


An:    [EMAIL PROTECTED]
Kopie:
Thema: Re: redirect script-output


We always use

  >> /tsm/reports/datout.txt




-----Original Message-----
From: Winfried Heilmann [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 16, 2000 7:51 AM
To: [EMAIL PROTECTED]
Subject: redirect script-output


Hi,

I want to redirect the output of a script which is invoked by a admin
schedule. (not by command -line)

I tried the " -output > ....."-Parameter, but it doesn't work.

Any idea?

Regards winfried

Reply via email to