Gary,
You may also want to consider shell scripting. I've abandoned server side
scripts in favour of the flexibility of Perl and ksh scripts. Just an
option.
Alex Paschal
Freightliner, LLC
(503) 745-6850 phone/vmail
-----Original Message-----
From: Richard Sims [mailto:rbs AT BU DOT EDU]
Sent: Thursday, March 27, 2003 2:35 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: executing unix commmands from tsm scripts
>Is there a way to accomplish this?
Gary - I wrestled with this when I created our *SM server housekeeping
script, as I wanted to issue Unix commands to send email to the
operators to act on certain tape volsers. I finally hit upon a solution
using DEFine CLIENTAction, like:
DEFine CLIENTAction OURNODE ACTion=Command -
OBJects='mail -s "Some mail subject, huh?" adsm-admin@ourhost </dev/null
>/dev/null'
That's a trivial example just to send email with a subject and empty body.
You can of course invoke any command.
Richard Sims, BU
|