Re: SELECT COMMAND
2005-05-09 15:25:50
Here's a crude script, but it works. We have it in cron to run daily.
#!/bin/ksh -x
MAILLIST=me. AT me DOT com
/usr/bin/dsmadmc -ID=query -PA=query1 q event \domain \* type=client
Begindate=-1 > /tmp/sched.log
cat /tmp/mecc.log|grep -v ANS8000I |grep -v ANS8002I |mailx -s "TSM
Backup Results" $MAILLIST
-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of
Lepre, James
Sent: Monday, May 09, 2005 2:16 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: SELECT COMMAND
Hello Everyone,
I am trying to figure out how to automate in an email whether the
schedules for my nodes backed up successfully or failed during the
previous night. Does anyone have an idea on how to do this.
Thank you
James
|
|
|