Hi all,
this is my first post, and i want to say hello to everyone in there.
I've a little problem for you all

.
I have a log like this:
Code:
38714 07/02/09 00:01:36 nsrd web2consolidato:D:\ done saving to pool 'SISTMSW0060' (Q09480) 32 GB
38752 07/02/09 00:01:37 nsrd /dev/rmt/STK0.2.10.5 11:Verify label operation in progress
38752 07/02/09 00:01:39 nsrd /dev/rmt/STK0.2.10.5 11:Mount operation in progress
42504 07/02/09 00:01:48 nsrd media event cleared: Waiting for 1 writable volumes to backup pool 'index' tape(s) or disk(s) on
bolgt03
38718 07/02/09 00:01:48 nsrd bolgt03:index:serceias6bo009 saving to pool 'index' (Q12581)
38718 07/02/09 00:01:48 nsrd bolgt03:index:efbpmb04 saving to pool 'index' (Q12581)
38718 07/02/09 00:01:48 nsrd bolgt03:index:bostn03qd saving to pool 'index' (Q12581)
38718 07/02/09 00:01:48 nsrd bolgt03:index:efbpme06 saving to pool 'index' (Q12581)
0 07/02/09 00:01:51 nsrmmdbd pools supported: index, SISTMSW0060;
12361 07/02/09 00:01:52 nsrd [Jukebox `CRMF01', operation # 1967]. Finished with status: succeeded
42506 07/02/09 00:01:58 nsrd write completion notice: Writing to volume Q32308 complete
42506 07/02/09 00:02:08 nsrd write completion notice: Writing to volume Q09480 complete
9935 07/02/09 00:02:10 nsrmmdbd Save set ssid:3343637708 cloneid:1246485675 retention time update is before browse time, adju
sting browse time
and i need a script to extract the lines created in the last hour.
Example
I run the script at 15:31 - 07/01/09
i need every line created between the 14:31 - 07/01/09 and now.
But is not certain that there is a line in the log with that hour. The log can be unchanged in the last week or can contain several lines with the same timestamp.
The script need also to run between days and mounth changes example:
run at 00:30 07/01/09 i need every line FROM 23:30 an 06/30/09

.
Please help me... my head is near to explode.