Re: [Networker] Help with calculating time value?
2004-10-16 14:26:06
On my unix servers, I accomplish this by calling the date command from
the perl script:
$savetime = "yesterday 16:00";
$day = `date +%a`;
if ($day =~ m/mon/i) { $savetime = "3 days ago 16:00";}
@report = `mminfo -av -t $savetime -q near -r volume`;
--
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
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
|
|
|