View Single Post
Old 08-09-2005, 01:49 PM  
oslike
Member
 
Join Date: Dec 2003
Posts: 90
Default TCL scripting advice needed

Hi all,


i am writing a "site new" script with TCL (had a look at ioNEWDIR.tcl) and have the following problem:

i am trying to read new created folders from IOFTPD.log.
My log file is around 6MB and my "site new" command seems to
take up to 20 seconds, sometimes its faster i think because
its cached then.

Is there a way to fasten this? (Besides rotating logs every day)

Maybe a way to open LOG file and read it backward till it gets the last 50 new files?

Does any1 have an idea?

thanks in advance

os-like
oslike is offline   Reply With Quote