What I am trying to accomplish is automatic archiving of my IIS log files. I have IIS set to log webstats monthly. These files get large and take up drive space on the server.
I wrote a QBasic program to autmatically look in each W3SVC folder for a specified log file and zip it up. I paired this with some batch programs to xcopy the logs to another file server. My issue is that I have to do everything manually. I can't use windows scheduler because my qbasic program will not close after it is done zipping the files. I've spent alot of time trying to automate the process I've come up with but I keep running into dead ends. I'm now open to any other suggestions that I might be missing. Does anyone know of a better way to accomplish this?
Ryan
I wrote a QBasic program to autmatically look in each W3SVC folder for a specified log file and zip it up. I paired this with some batch programs to xcopy the logs to another file server. My issue is that I have to do everything manually. I can't use windows scheduler because my qbasic program will not close after it is done zipping the files. I've spent alot of time trying to automate the process I've come up with but I keep running into dead ends. I'm now open to any other suggestions that I might be missing. Does anyone know of a better way to accomplish this?
Ryan