Don't run your script at midnight but at 12:30. This will give the server plenty of time. There is a good sample script here:
http://www.iisfaq.com/Default.aspx?tabid=2809 It doesn't use WinZip but creates MS cab files. Thanks John Dobbin Pen Publishing Interactive - http://www.penpublishing.com > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of John > T (Lists) > Sent: Monday, April 17, 2006 12:44 PM > To: [email protected] > Subject: [Declude.JunkMail] OT: Help with WinZip command line > > I am trying to create a batch file that will zip up a weeks > worth of logs and then move that zip file. > > The problem I am having is that I want to zip the previous 7 > days, but sometimes the last log is time stamped say 04/16/06 > 11:59 PM and sometimes say 04/17/06 12:00 AM. Because of > that, if I run the batch file on 04/17/06, it may or may not > include the log file for 04/16/06 depending on the final time stamp. > > Other than stopping services just before midnight and then > restarting, what is the best way to always ensure that I am > processing the correct day's files? > > John T > eServices For You > > "Seek, and ye shall find!" > > > > --- > This E-mail came from the Declude.JunkMail mailing list. To > unsubscribe, just send an E-mail to [EMAIL PROTECTED], and > type "unsubscribe Declude.JunkMail". The archives can be > found at http://www.mail-archive.com. > --- This E-mail came from the Declude.JunkMail mailing list. To unsubscribe, just send an E-mail to [EMAIL PROTECTED], and type "unsubscribe Declude.JunkMail". The archives can be found at http://www.mail-archive.com.
