if your time is correct on the server where the report is generated it's pretty trivial. $time = localtime(time()); print "Report generated $time\n"; yields Report generated Fri Oct 15 04:38:28 1999
-----Original Message----- From: K Mitchell [SMTP:mitch@keyconn.net] Sent: Saturday, October 16, 1999 12:20 AM To: usr-tc@lists.xmission.com Subject: RE: (usr-tc) badmodems.pl
At 11:42 PM 10/15/99 -0300, you wrote:
You could rewrite part of the script to make it output HTML directly to STDOUT so that it generates your stats real-time. I'm doing this with
some
other SNMP scripts I wrote but, depending on the stats, you might be sitting there a while waiting for it to do something. If you want to run it periodically you might want to consider using WINAT to schedule it if you're on NT.
One other thing, I'd like to include the date/time the report was generated. Is there an OID for getting this from the ARC or NMC?
-- Kirk Mitchell-General Manager mitch@keyconn.net Keystone Connect Unlock Your World Altoona, PA 814-941-5000 http://www.keyconn.net
- To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" with "unsubscribe usr-tc" in the body of the message. For information on digests or retrieving files and old messages send "help" to the same address. Do not use quotes in your message.
- To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" with "unsubscribe usr-tc" in the body of the message. For information on digests or retrieving files and old messages send "help" to the same address. Do not use quotes in your message.