You should have used a new thread for this question. So people have better visibility.
Anyways, To answer your question. You have to write a scheduled custom service that calls ‘wm.server.query:getStats’ service and writes the output to a file.
Code your service such that the file is created on a weekly basis such that stats for that week will be written/appended in the file for that week.
Thank you,
Anil
#Integration-Server-and-ESB#webMethods#Flow-and-Java-services