IIS Logs : Move & Zip

General questions about xStarter, how to create tasks, etc.
Post Reply
MisterG
Posts: 3
Joined: Wed Aug 06, 2008 8:54 am

IIS Logs : Move & Zip

Post by MisterG » Wed Aug 06, 2008 8:57 am

Hello,

I'm fighting with DateTime function to move the logs of IIS to another directory and to zip it.
The logs of IIS are that kind : ex080806.log (exyyMMdd.log)

Can you help me with the script ?

Thank you,

MisterG

MisterG
Posts: 3
Joined: Wed Aug 06, 2008 8:54 am

Re: IIS Logs : Move & Zip

Post by MisterG » Wed Aug 06, 2008 9:18 am

OK I found it.

I don't have to play with DateTime ... but with Mathematical operations :-)

You can put this script in your example, it will be useful for system administrators.

Regards,

MisterG
Attachments
IIS Logs.xstk
To archive your IIS log files
(2.76 KiB) Downloaded 354 times

Post Reply