• The ImunifyAV extension is now deprecated and no longer available for installation.
    Existing ImunifyAV installations will continue operating for three months, and after that will automatically be replaced with the new Imunify extension. We recommend that you manually replace any existing ImunifyAV installations with Imunify at your earliest convenience.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Email statistics (or link) to client, not report

R

rcharamella

Guest
I was wondering if there is a way to setup an automated email of statistics or a link to statistics for a particular site within plesk. I see that we can automate sending of the report, but my client is more concerned with total site views and referrers that the report doesn't talk about.

Any ideas would be greatly appreciated.
 
You can just add another command to servers crontab, that will send out links to your client(s) - the main point here is that it should be done after statistics utility which does all calculations, say statistics runs at 4.07 a.m., so you can send out links at 5 a.m.

This can be done either from shell or in Server -> Crontab.

Another question here is how you will do that, but that's another story and is not related to Plesk.

Probably you'll need to use sendmail or qmail-inject to send out messages, f.e. with qmail-inject:

This command sends message:

# cat msg | /var/qmail/bin/qmail-inject

This is what file contains:

# cat msg
to: [email protected]
from: [email protected]
subject: link to monthly report

hello, bla bla bla
 
Back
Top