Re: executing unix commmands from tsm scripts
2003-03-27 17:35:44
>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
|
|
|