Networker

[Networker] Can not pass variable to mminfo command

2005-02-26 05:26:55
Subject: [Networker] Can not pass variable to mminfo command
From: Rathindra Nath Dhali IT <rdhali AT GRAMEENPHONE DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Sat, 26 Feb 2005 16:23:32 +0600
Dear Experts,

I was trying to write some shell scripts to produce custom Media Report
with help of "mminfo". But I am unable to pass variable to mminfo. I am
new in scripting and don't have enough idea to recover from the problem.
Can anyone help me?

 

The command I am using, looks like this:

mminfo -q 'savetime>=$newDate1' -r 'pool,volume' |grep "GroupName"

 

*** newDate1 is the variable which contains input value given through
command line argument.

 

I get error as follows --> 

mminfo: invalid value specified for `savetime'

 

 

Thanks & best regards

 

Rathindra Nath Dhali

System Engineer

Operations, IT Division

GrameenPhone Ltd.

Mobile: +88 017 1 500 978

 


--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listserv.temple DOT edu or visit the list's Web site at
http://listserv.temple.edu/archives/networker.html where you can
also view and post messages to the list. Questions regarding this list
should be sent to stan AT temple DOT edu
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

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