I think it would be easier to copy the log file to an archive directory using a batch file and windows task scheduler or cron job.
copy c:\directory\*.log c:\directory\archive\ /Y Should do it. Then create your check to check the only log file that is left. Jason Passow Mississippi Welders Supply [EMAIL PROTECTED] ph: (507) 494-5178 fax: (507) 454-8104 "If you do everything right, nobody will realize you've done anything at all." Barry George wrote: > Doesn't look like that's the case Michael. I have a file time stamp changing > every hour but the folder time stamp is at midnight. Probably when the file > name changes? > > Thomas I will check into this - writing a VB script will be a challenge > though (for me > :-). > > If you have any examples I could use as a guide I'd appreciate it. Send to me > directly if you want. > > Thanks for the ideas > Barry > > > Dirk - Ditto the strong helpful community for "SA strong points" :-) > > > > ________________________________________ > From: Servers Alive Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of > Michael Shook > Sent: May 30, 2007 1:56 PM > To: Servers Alive Discussion List > Subject: RE: [SA-list] File Properties System Date Parameter? > > If I'm not mistaken, if you give the file properties check only the folder > name in which the log files live, then it will check the modified time of the > folder, which should be the modified time of the most recently modified file > in that folder. > > Michael D. Shook > Systems Analyst - Data Integration > Saddle Creek Corporation > 863 668 4477 (work) > 863 665 1261 (fax) > My time zone: UTC -0400 (Eastern Daylight Time) > > > ________________________________________ > From: Servers Alive Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of > Barry George > Sent: Wednesday, May 30, 2007 1:46 PM > To: Servers Alive Discussion List > Subject: [SA-list] File Properties System Date Parameter? > Hi all, > I need to check a remote log file is being updated every x minutes (creation > time change). Each day it creates a new file with a name based on system > date. Is there a way to parses this name change via the File Properties app? > We would use this to check if a service has hung. > > If not, what suggestions can people make? > > Cheers > Barry > > > > To unsubscribe send a message with UNSUBSCRIBE as subject to > [email protected] > If you use auto-responders (like out-of-the-office messages), then make sure > that they are not send to the list nor to the individual members of the list > that send a message. Doing this will get you removed from the list. > -------------------------------------- > The information contained in this message is intended only for the use of the > addressee. If the reader of this message is not the intended recipient or > agent of the intended recipient, you are hereby notified that any > dissemination, distribution, or copying of the message is strictly prohibited. > > To unsubscribe send a message with UNSUBSCRIBE as subject to > [email protected] > If you use auto-responders (like out-of-the-office messages), then make sure > that they are not send to the list nor to the individual members of the list > that send a message. Doing this will get you removed from the list. > > To unsubscribe send a message with UNSUBSCRIBE as subject to > [email protected] > If you use auto-responders (like out-of-the-office messages), then make sure > that they are not send to the list nor to the individual members of the list > that send a message. Doing this will get you removed from the list. > > To unsubscribe send a message with UNSUBSCRIBE as subject to [email protected] If you use auto-responders (like out-of-the-office messages), then make sure that they are not send to the list nor to the individual members of the list that send a message. Doing this will get you removed from the list.
