|
|
Questions: Message View
i want to get just the new/changed files of the last 24 hours
|
Author: Roland Wartenberg
Date: 13.12.2003 11:23:12
|
Hi,
i am trying to set up a profile to scan our group share for files which have been created or modified during the last 24 hours.
But it does not work 100%, sometimes i see files in the list which are created or modified two days ago.
Could you please look at our config file and give me some suggestions what i am doing wrong ?
Regards
Roland
P.S.: the files rowa[1-4] on c:\temp are html files to create an nice HTML-based output.
; Log Monitor 1.4.2 Config File
; You can edit this file, but be accurate.
;;;
Paused=0
IsDirectory=1
FileName=\\roland\share
Comment=share on \\roland\share
Interval=60
RunOnce=0
ToPaused=0
WorkHours=1
TimeInterval=01:00:00 - 01:00:10
Days=1111111
MonthDays=
ExcludedDates=
IncludedDates=
CacheID=3E1E97BD
RealTime=0
RealTimeInterval=0
CacheData=1
CheckExistingOnly=1
CacheDirectory=C:\Program Files\Log Monitor\cache
Mask=*
ExcludeMask=
DirMask=*
ExclDirMask=
FullPathMask=0
DirMonitoring=0
Subdir=1
CountHidden=1
Inverse=0
Conditions=1100
StorePrevInfo=0
ConditionType=0
OlderInterval=3600
IgnoreAdded=1
IgnoreOpened=0
Break=0
;
Action=0
Enabled=1
DelayBefore=0
ActComment=
ListName=C:\temp\rowa2.htm
ListParams=<TR> <TD size="1"><FONT color=#ff0000><I> %Added="New !" %Changed="" </I> </TD> <TD> <a href="%File" > %File </a> </TD> </TR>
ListAppend=0
ListDelete=0
UseCycle=0
;
Action=1
Enabled=1
DelayBefore=0
ActComment=
Command=%comspec%
Params=/c copy rowa1.htm+rowa2.htm+rowa3.htm rowa4.htm
Dir=c:\temp
Show=3
Wait=0
MultiArgs=1
MaxFiles=0
TerminateTime=0
;
Action=1
Enabled=1
DelayBefore=0
ActComment=
Command=%comspec%
Params=/c blat rowa4.htm -i roland -t rowa@yahoo.com -s "[rw] Delta for share roland (%SysDate="yyyy-mm-dd")" -html
Dir=c:\temp
Show=3
Wait=0
MultiArgs=1
MaxFiles=0
TerminateTime=20
EOF
|
Reply |
|
RE: i want to get just the new/changed files of the last 24 hours
|
Author: Vadim
Date: 14.12.2003 2:55:43
|
I think that the config is correct. If you copy old file to the monitoring directory where this file does not exist, then for Log Monitor it will be a NEW file, isn't it? Event "Added new file" does not depend on file date, but on new file presence. |
Reply |
|
RE: i want to get just the new/changed files of the last 24 hours
|
Author: Roland Wartenberg
Date: 15.12.2003 14:09:38
|
i think you are right
during the next days i will have a look on these new/old files
actually i think this is good feature; if a file is new on a share i want to see it ont he list, independing on the date of the original creation
Regards
Roland
|
Reply |
|
RE: i want to get just the new/changed files of the last 24 hours
|
Author: Roland Wartenberg
Date: 17.12.2003 23:46:14
|
Hi,
after presenting the output list to
our team i was asked if it's possible
to add the number of added/modified
files to the output.
I could not find a variable in
LogMonitor which is a counter for the
number of files.
Any ideas here in the forum how to get
the number ?
Regards
Roland
|
Reply |
|
RE: i want to get just the new/changed files of the last 24 hours
|
Author: Vadim
Date: 18.12.2003 1:10:43
|
Yes, there is no such variable... I don't know how to count files, sorry. |
Reply |
|
|
|
|