Networker

Re: [Networker] Savetime attribute with mminfo?

2004-10-19 16:47:35
Subject: Re: [Networker] Savetime attribute with mminfo?
From: Davina Treiber <Treiber AT HOTPOP DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Tue, 19 Oct 2004 21:42:47 +0000
George Sinclair wrote:
Why is that if I run mminfo as something like:

mminfo -s server -q 'savetime>10/18/04'

versus

mminfo -s server -q 'savetime>=10/18/04'

I get the same output? NetWorker still insists on returing savesets
beginning with that date plus everything after that date regardless of
whether I use '>=' or just '>'. However, if I  run something like:

mminfo -s server -q 'savetime>=10/19/04' then I get what I want.

These dates are just examples, but I've always seen this behavior in
NetWorker and always thought it was odd. Anyone else notice this?

I can explain this.

NetWorker is interpreting "10/18/04" as "10/18/04 00:00:00". It is
understanding a time to the nearest second, so unless you had a save set
written at exactly "10/18/04 00:00:00" you would not be able to see a
difference in the query.

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.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>