Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: ig32274 on July 18, 2006, 11:02:44 AM

Title: How Can I make download of reports for my SME Server 7.0
Post by: ig32274 on July 18, 2006, 11:02:44 AM
i want to dowload reports for my SME Server 7.0 to improve the performance of the SME.
Can anybody help?
Thanks
Nuno Pimenta
Title: Re: How Can I make download of reports for my SME Server 7.0
Post by: psoren on July 18, 2006, 12:27:53 PM
Quote from: "ig32274"
i want to dowload reports for my SME Server 7.0 to improve the performance of the SME.
Can anybody help?
Thanks
Nuno Pimenta


You can look in the servermanager under "view logfiles".
But if you want something automatic, then you could make a script and type something like:

#!/bin/bash

cat /var/log/messages | mail youradress@yourdomain.xxx

One line for each logfile you want. Then put the file in /etc/cron.daily. Then you will get them each night in a mail. Remember to make the script executable.

There are also different contribs which generate reports, maybe that is what you want.

I don't know how it will improve performance :lol:

Per