ADSM-L

Re: SELECT COMMAND

2005-05-09 15:25:50
Subject: Re: SELECT COMMAND
From: "Hart, Charles" <charles.hart AT MEDTRONIC DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Mon, 9 May 2005 14:23:26 -0500
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   

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