Generating a client action to send an email in unix

Nans

Active Newcomer
Joined
Nov 3, 2011
Messages
5
Reaction score
0
Points
0
Hi,

I'm a newbie to TSM. Can someone help me in generating a client action to email the DR report at a certain point in my server maintenance script? Currently this shell script is executed by a cronjob. I want to in-corporate it in tsm admin script.

Can you tell me the best way to do this.

Thanks,
Nans.
 
The best way to do this is to have the admin script run an update of a client schedule or define a clientact that runs a shell command to create the report and e-mail to the appropriate people.

for example you could add the following line

DEF CLIENTACT PRDTSM1 DO=* ACT=COMMAND OBJECT="/usr/local/scripts/tsm-daily-rpt.ksh"
 
Thanks Chad for that solution. I have defined this client action in our maintenance script just after the prepare command. Guess, we have to give "wait=yes" for prepare so that once it completes and places the DR report in the folder, we can execute the script to attach and send the report. Let me know if I am wrong.
 
Back
Top