[JaxPM] log checking script once again
Bill Jones
bill at fccj.org
Wed Jun 14 22:42:37 CDT 2000
On the jacksonville-pm-list; Jax.PM'er Bill Jones <bill at fccj.org> wrote -
Hmmm, maybe I am missing something?
Did you see the way I get the date out of logs?
See -
http://www.cpan.org/modules/by-authors/id/S/SN/SNEEX/msg_log.perl
HTH;
- FCCJ * 501 W State St * Jacksonville, Fl 32202 * 904/632-3089 -
> From: Nate Campi <nate at campin.net>
> Date: Wed, 14 Jun 2000 13:05:34 -0700 (PDT)
> Cc: jax perl mongers <jacksonville-pm-list at happyfunball.pm.org>
> Subject: [JaxPM] log checking script once again
>
> On the jacksonville-pm-list; Jax.PM'er Nate Campi <nate at campin.net> wrote -
> May 30 16:04:10, 16:09:16, 16:14:23, 16:19:29, 16:24:35, 16:29:41,
> 16:34:46, 16:39:52, 16:44:58, 16:50:08, 16:55:14 goose ipop3d: Logout
> user=??? host=skitzo.campin.net [63.198.180.27]
> @msg = split(/[ ]+/);# split it up for easy parsing
> $month = $msg[0]; # HACK, $month and $day are used at the bottom
> $day = $msg[1]; # this isn't a problem for an hourly report,
> # but if you run it less often than
> # once a day, you'd have
> # to change this hack to get the right date
> # -if you do it daily, do it at midnight ;)
Jax.PM Moderator's Note:
This message was posted to the Jacksonville Perl Monger's Group listserv.
The group manager can be reached at -- owner-jacksonville-pm-list at pm.org
to whom send all praises, complaints, or comments...
More information about the Jacksonville-pm
mailing list