Re: crontab "last day of the month"

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jan Stary
Date: Tuesday, April 6, 2010 - 11:08 pm

On Apr 06 23:52:31, Antti Harri wrote:

You already know that. If it's April 2010 now, then access_log.0.gz
contains the logs of March 2010. (Beware the logs of March!)

If you want to get the date _out_of_the_file_ (why would you,
you already know that), it's in each and every line of the access_log:

158.108.213.20 - - [07/Apr/2010:08:01:48 +0200] "GET /hoeg/ HTTP/1.0" 200 3771



This is the month (which you already know anyway).
The year is not even present in the "turned over" messages.
But again, it is present in each and every of the log records.


Which apparently cannot do it (or what exactly is your problem?).

Try webalizer, it doesn't depend on log files being particularly
named and/or sorted, juts reads the individual records, remembers
previous periods, what was already processed, etc.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
crontab "last day of the month", frantisek holop, (Tue Apr 6, 2:15 am)
Re: crontab "last day of the month", Jan Stary, (Tue Apr 6, 2:26 am)
Re: crontab "last day of the month", Markus Hennecke, (Tue Apr 6, 2:32 am)
Re: crontab "last day of the month", frantisek holop, (Tue Apr 6, 3:09 am)
Re: crontab "last day of the month", Bret S. Lambert, (Tue Apr 6, 3:20 am)
Re: crontab "last day of the month", Alexander Hall, (Tue Apr 6, 3:29 am)
Re: crontab "last day of the month", Paul de Weerd, (Tue Apr 6, 3:37 am)
Re: crontab "last day of the month", Otto Moerbeek, (Tue Apr 6, 3:43 am)
Re: crontab "last day of the month", Jan Stary, (Tue Apr 6, 5:16 am)
Re: crontab "last day of the month", Artur Grabowski, (Tue Apr 6, 5:16 am)
Re: crontab "last day of the month", frantisek holop, (Tue Apr 6, 5:24 am)
Re: crontab "last day of the month", Robert Bronsdon, (Tue Apr 6, 5:28 am)
Re: crontab "last day of the month", Paul de Weerd, (Tue Apr 6, 5:40 am)
Re: crontab "last day of the month", Bret S. Lambert, (Tue Apr 6, 6:01 am)
Re: crontab "last day of the month", =?ISO-8859-1?Q?Marti ..., (Tue Apr 6, 6:11 am)
Re: crontab "last day of the month", Antti Harri, (Tue Apr 6, 6:39 am)
Re: crontab "last day of the month", L. V. Lammert, (Tue Apr 6, 7:13 am)
Re: crontab "last day of the month", frantisek holop, (Tue Apr 6, 7:18 am)
Re: crontab "last day of the month", =?UTF-8?B?QmVubnkgTM ..., (Tue Apr 6, 10:24 am)
Re: crontab "last day of the month", Jan Stary, (Tue Apr 6, 11:13 am)
Re: crontab "last day of the month", Paul de Weerd, (Tue Apr 6, 12:51 pm)
Re: crontab "last day of the month", Chris Bennett, (Tue Apr 6, 1:36 pm)
Re: crontab "last day of the month", Antti Harri, (Tue Apr 6, 1:52 pm)
Re: crontab "last day of the month", frantisek holop, (Tue Apr 6, 2:59 pm)
Re: crontab "last day of the month", frantisek holop, (Tue Apr 6, 4:49 pm)
Re: crontab "last day of the month", Stuart Henderson, (Tue Apr 6, 7:07 pm)
Re: crontab "last day of the month", Jan Stary, (Tue Apr 6, 11:08 pm)
Re: crontab "last day of the month", Lars Nooden, (Wed Apr 7, 1:03 am)
Re: crontab "last day of the month", Antti Harri, (Wed Apr 7, 1:43 am)
Re: crontab "last day of the month", Artur Grabowski, (Thu Apr 8, 12:51 am)
Re: crontab "last day of the month", Alexander Hall, (Thu Apr 8, 8:14 am)