ADSM-L

Re: executing unix commmands from tsm scripts

2003-03-27 17:35:44
Subject: Re: executing unix commmands from tsm scripts
From: Richard Sims <rbs AT BU DOT EDU>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Thu, 27 Mar 2003 17:35:19 -0500
>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

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